Commits

RafRaf committed ed29ad2

A ReadMe file edited

Comments (0)

Files changed (1)

 urlpatterns += staticfiles_urlpatterns()
 
 
-3. Run 'collectstatic' to deploy poll's static files (see https://docs.djangoproject.com/en/1.3/howto/static-files/#deploying-static-files-in-a-nutshell)
+3. Your TEMPLATE_CONTEXT_PROCESSORS (in settings.py) should looks like this:
+
+TEMPLATE_CONTEXT_PROCESSORS = (
+    'django.core.context_processors.auth',
+    'django.core.context_processors.i18n',
+    'django.core.context_processors.request',
+    'django.core.context_processors.static',
+) 
+
+
+4. Run 'collectstatic' to deploy poll's static files (see https://docs.djangoproject.com/en/1.3/howto/static-files/#deploying-static-files-in-a-nutshell)
    >> python manage.py collectstatic
 
 
-4. Eventually we need to do "syncdb".
+5. Eventually we need to do "syncdb".
    >> python manage.py syncdb
 
 ATTENTION: Don't forget this step. It's very important, because django-poll-system have a fixture that needs to be installed to DB.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.