Install some context processors

This commit is contained in:
Michal Čihař 2012-02-27 11:57:20 +01:00
parent 802be0e27f
commit 627b5534a6

View File

@ -137,6 +137,16 @@ INSTALLED_APPS = (
'lang', 'lang',
) )
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.request',
'django.core.context_processors.csrf',
)
# A sample logging configuration. The only tangible logging # A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to # performed by this configuration is to send an email to
# the site admins on every HTTP 500 error. # the site admins on every HTTP 500 error.