summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-27 14:25:42 -0400
committerTim Graham <timograham@gmail.com>2015-06-27 14:27:28 -0400
commit8922266a8d832ecb64a2e4b34f80bd98855b3138 (patch)
tree679622a232f821c663e9ee683786e01b2d8fd3a0
parentfd61ce3817251c487fd98c3ed178a8258775329e (diff)
[1.8.x] Fixed #25033 -- Added context_processors.auth to documented admin dependencies.
Backport of f59667c121272ba7a1161e8bc4787654d929f6f1 from master
-rw-r--r--docs/ref/contrib/admin/index.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 06615a01d6..2e35ee6020 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -27,7 +27,8 @@ For reference, here are the requirements:
:mod:`django.contrib.sessions`. If these applications are not
in your :setting:`INSTALLED_APPS` list, add them.
-3. Add ``django.contrib.messages.context_processors.messages`` to
+3. Add ``django.contrib.auth.context_processors.auth`` and
+ ``django.contrib.messages.context_processors.messages`` to
the ``'context_processors'`` option of the ``DjangoTemplates`` backend
defined in your :setting:`TEMPLATES` as well as
:class:`django.contrib.auth.middleware.AuthenticationMiddleware` and