summaryrefslogtreecommitdiff
path: root/docs/templates_python.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-01-27 16:35:25 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-01-27 16:35:25 +0000
commit1af3a398688ecfdff7002cba2e897b285e863d3b (patch)
tree96e5e48f83900fad46644e44b8b682d1f1bbecdc /docs/templates_python.txt
parent6dddef9b9171e4b37a2704fd355444240824ce18 (diff)
magic-removal: Merged to [2136]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/templates_python.txt')
-rw-r--r--docs/templates_python.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/templates_python.txt b/docs/templates_python.txt
index d712bc30ac..6c90dbfd55 100644
--- a/docs/templates_python.txt
+++ b/docs/templates_python.txt
@@ -335,6 +335,16 @@ See the `internationalization docs`_ for more.
.. _LANGUAGE_CODE setting: http://www.djangoproject.com/documentation/settings/#language-code
.. _internationalization docs: http://www.djangoproject.com/documentation/i18n/
+django.core.context_processors.request
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+**New in Django development version**
+
+If ``TEMPLATE_CONTEXT_PROCESSORS`` contains this processor, every
+``DjangoContext`` will contain a variable ``request``, which is the current
+`HttpRequest object`_. Note that this processor is not enabled by default;
+you'll have to activate it.
+
Loading templates
-----------------