Commits

David Jean Louis committed 98bb0af

Better explaination for the TEMPLATE_CONTEXT_PROCESSORS section

  • Participants
  • Parent commits 7b55918

Comments (0)

Files changed (2)

File docs/configuration.rst

 installed::
 
     TEMPLATE_CONTEXT_PROCESSORS = (
+        # default template context processors
         'django.core.context_processors.auth',
+        'django.core.context_processors.debug',
+        'django.core.context_processors.i18n',
+        'django.core.context_processors.media',
+
+        # django 1.2 only
+        'django.contrib.messages.context_processors.messages', 
+
+        # required by django-admin-tools
         'django.core.context_processors.request',
     )
 

File docs/quickstart.rst

 installed::
 
     TEMPLATE_CONTEXT_PROCESSORS = (
+        # default template context processors
         'django.core.context_processors.auth',
+        'django.core.context_processors.debug',
+        'django.core.context_processors.i18n',
+        'django.core.context_processors.media',
+
+        # django 1.2 only
+        'django.contrib.messages.context_processors.messages', 
+
+        # required by django-admin-tools
         'django.core.context_processors.request',
     )