Commit 8922266a authored by Tim Graham's avatar Tim Graham
Browse files

[1.8.x] Fixed #25033 -- Added context_processors.auth to documented admin dependencies.

Backport of f59667c1 from master
parent fd61ce38
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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