From 49fd163a95074c07a23f2ccf9e23aebf5bee0bb2 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 24 Dec 2005 04:39:59 +0000 Subject: Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify processesors for DjangoContext. Thanks, Luke Plant git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/settings.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs/settings.txt') diff --git a/docs/settings.txt b/docs/settings.txt index 6913113c09..40ae452275 100644 --- a/docs/settings.txt +++ b/docs/settings.txt @@ -547,6 +547,21 @@ The ID, as an integer, of the current site in the ``sites`` database. This is used so that application data can hook into specific site(s) and a single database can manage content for multiple sites. +TEMPLATE_CONTEXT_PROCESSORS +--------------------------- + +Default:: + + ("django.core.context_processors.auth", + "django.core.context_processors.debug", + "django.core.context_processors.i18n") + +**Only available in Django development version.** + +A tuple of callables that are used to populate the context in ``DjangoContext``. +These callables take a request object as their argument and return a dictionary +of items to be merged into the context. + TEMPLATE_DEBUG -------------- -- cgit v1.3