diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-02-26 17:06:09 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-02-26 17:06:09 +0000 |
| commit | c9151bcba1533756fc6e540c6fb599ed037267a8 (patch) | |
| tree | 5423187ec930adf5f78c24deed579be2e4cab303 /docs/ref/templates/api.txt | |
| parent | 5787925cdbb258091c283b424498821122de6992 (diff) | |
Fixed #12968 - Added missing versionadded/-changed doc markers for r12466. Thanks, Karen and Ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/templates/api.txt')
| -rw-r--r-- | docs/ref/templates/api.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 97f6431ba4..90e2c76dbe 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -325,6 +325,11 @@ and return a dictionary of items to be merged into the context. By default, The ``'messages'`` context processor was added. For more information, see the :ref:`messages documentation <ref-contrib-messages>`. +.. versionchanged:: 1.2 + The auth context processor was moved in this release from its old location + ``django.core.context_processors.auth`` to + ``django.contrib.auth.context_processors.auth``. + Each processor is applied in order. That means, if one processor adds a variable to the context and a second processor adds a variable with the same name, the second will override the first. The default processors are explained @@ -378,6 +383,10 @@ If :setting:`TEMPLATE_CONTEXT_PROCESSORS` contains this processor, every permissions that the currently logged-in user has. .. versionchanged:: 1.2 + This context processor was moved in this release from + ``django.core.context_processors.auth`` to its current location. + +.. versionchanged:: 1.2 Prior to version 1.2, the ``messages`` variable was a lazy accessor for ``user.get_and_delete_messages()``. It has been changed to include any messages added via the :ref:`messages framework <ref-contrib-messages>`. |
