1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

magic-removal: Merged to [2136]

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2006-01-27 16:35:25 +00:00
parent 6dddef9b91
commit 1af3a39868
10 changed files with 34 additions and 9 deletions

View File

@@ -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
-----------------