summaryrefslogtreecommitdiff
path: root/docs/settings.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-12-24 04:39:59 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-12-24 04:39:59 +0000
commit49fd163a95074c07a23f2ccf9e23aebf5bee0bb2 (patch)
tree78ca0957bfc75f190e34d218c7d0eba33afb5d49 /docs/settings.txt
parentd9269055c941bd864049207441d7955ec65760fe (diff)
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
Diffstat (limited to 'docs/settings.txt')
-rw-r--r--docs/settings.txt15
1 files changed, 15 insertions, 0 deletions
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
--------------