mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 08:39:08 +01:00
Formatting fixes for README
This commit is contained in:
parent
c3a4c4c8ba
commit
5e7f98dbb6
@ -68,23 +68,27 @@ 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
|
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
|
(http://pypi.python.org/pypi/django-staticfiles/) and add the following to your
|
||||||
existing `settings.py` and `urls.py` files:
|
existing `settings.py` and `urls.py` files.
|
||||||
|
|
||||||
settings.py::
|
settings.py::
|
||||||
|
|
||||||
MEDIA_ROOT = '/var/www/media/'
|
MEDIA_ROOT = '/var/www/media/'
|
||||||
MEDIA_URL = '/media/'
|
MEDIA_URL = '/media/'
|
||||||
STATIC_ROOT = '/var/www/static/'
|
STATIC_ROOT = '/var/www/static/'
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
|
# Other installed applications here, including 'helpdesk'
|
||||||
'staticfiles',
|
'staticfiles',
|
||||||
)
|
)
|
||||||
|
|
||||||
TEMPLATE_CONTEXT_PROCESSORS = (
|
TEMPLATE_CONTEXT_PROCESSORS = (
|
||||||
|
# Other context processors listed here
|
||||||
'staticfiles.context_processors.static',
|
'staticfiles.context_processors.static',
|
||||||
)
|
)
|
||||||
|
|
||||||
urls.py::
|
urls.py::
|
||||||
|
|
||||||
from staticfiles.urls import staticfiles_urlpatterns
|
from staticfiles.urls import staticfiles_urlpatterns
|
||||||
urlpatterns += staticfiles_urlpatterns()
|
urlpatterns += staticfiles_urlpatterns()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user