From 5e7f98dbb6c66aedf943bb424d0a3be587f3d868 Mon Sep 17 00:00:00 2001 From: Ross Poulton Date: Fri, 6 May 2011 17:02:36 +1000 Subject: [PATCH] Formatting fixes for README --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 7311ba59..365e0faf 100644 --- a/README.rst +++ b/README.rst @@ -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 (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:: + MEDIA_ROOT = '/var/www/media/' MEDIA_URL = '/media/' STATIC_ROOT = '/var/www/static/' STATIC_URL = '/static/' INSTALLED_APPS = ( + # Other installed applications here, including 'helpdesk' 'staticfiles', ) TEMPLATE_CONTEXT_PROCESSORS = ( + # Other context processors listed here 'staticfiles.context_processors.static', ) urls.py:: + from staticfiles.urls import staticfiles_urlpatterns urlpatterns += staticfiles_urlpatterns()