From 627b5534a633c0cb17e247a08a71852ad39686c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 27 Feb 2012 11:57:20 +0100 Subject: [PATCH] Install some context processors --- settings.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/settings.py b/settings.py index ce754bfd0..98003eba7 100644 --- a/settings.py +++ b/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.