mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 18:31:10 +01:00
clarify how to change existing django 1.2.x installation so that
static files that come with the latest django-helpdesk work.
This commit is contained in:
parent
f3bd5da906
commit
31a1462b1d
23
README.rst
23
README.rst
@ -63,6 +63,29 @@ ensure the latest changes are in use.
|
|||||||
|
|
||||||
You can continue to the 'Initial Configuration' area, if needed.
|
You can continue to the 'Initial Configuration' area, if needed.
|
||||||
|
|
||||||
|
DJANGO 1.2.x and latest version of django-helpdesk
|
||||||
|
==================================================
|
||||||
|
|
||||||
|
If you are running django 1.2.x then you will need to install django-staticfiles
|
||||||
|
(http://pypi.python.org/pypi/django-staticfiles/) and add the following to your
|
||||||
|
existing settings.py and urls.py files:
|
||||||
|
|
||||||
|
settings.py:
|
||||||
|
STATIC_URL = "/static/"
|
||||||
|
|
||||||
|
INSTALLED_APPS = (
|
||||||
|
'staticfiles',
|
||||||
|
)
|
||||||
|
|
||||||
|
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||||
|
'staticfiles.context_processors.static',
|
||||||
|
)
|
||||||
|
|
||||||
|
urls.py:
|
||||||
|
from staticfiles.urls import staticfiles_urlpatterns
|
||||||
|
urlpatterns += staticfiles_urlpatterns()
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user