From 06d2516ae945894f3d61fc47555c81d826eec5d9 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 19 Oct 2010 10:52:13 +0200 Subject: [PATCH] settings: Enable a bunch of default context processors. These ensure that various values are available to templates when a RequestContext is used. --- settings.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/settings.py b/settings.py index fbe3df4..ff1d118 100644 --- a/settings.py +++ b/settings.py @@ -82,6 +82,14 @@ INSTALLED_APPS = ( 'tickets', ) +TEMPLATE_CONTEXT_PROCESSORS = ( + "django.core.context_processors.auth", + "django.core.context_processors.debug", + "django.core.context_processors.i18n", + "django.core.context_processors.media", + "django.core.context_processors.request", +) + # Allow authentication against the phpb user accounts AUTHENTICATION_BACKENDS = ( -- 2.30.2