Install some context processors
This commit is contained in:
parent
802be0e27f
commit
627b5534a6
10
settings.py
10
settings.py
@ -137,6 +137,16 @@ INSTALLED_APPS = (
|
||||
'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
|
||||
# performed by this configuration is to send an email to
|
||||
# the site admins on every HTTP 500 error.
|
||||
|
Loading…
Reference in New Issue
Block a user