From: Matthijs Kooijman Date: Tue, 19 Oct 2010 08:52:13 +0000 (+0200) Subject: settings: Enable a bunch of default context processors. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=06d2516ae945894f3d61fc47555c81d826eec5d9;p=matthijs%2Fprojects%2Fdorestad-bookings.git settings: Enable a bunch of default context processors. These ensure that various values are available to templates when a RequestContext is used. --- 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 = (