mirror of
https://github.com/django/django.git
synced 2024-12-29 12:36:08 +00:00
[1.8.x] Fixed #25033 -- Added context_processors.auth to documented admin dependencies.
Backport of f59667c121
from master
This commit is contained in:
parent
fd61ce3817
commit
8922266a8d
@ -27,7 +27,8 @@ For reference, here are the requirements:
|
|||||||
:mod:`django.contrib.sessions`. If these applications are not
|
:mod:`django.contrib.sessions`. If these applications are not
|
||||||
in your :setting:`INSTALLED_APPS` list, add them.
|
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
|
the ``'context_processors'`` option of the ``DjangoTemplates`` backend
|
||||||
defined in your :setting:`TEMPLATES` as well as
|
defined in your :setting:`TEMPLATES` as well as
|
||||||
:class:`django.contrib.auth.middleware.AuthenticationMiddleware` and
|
:class:`django.contrib.auth.middleware.AuthenticationMiddleware` and
|
||||||
|
Loading…
Reference in New Issue
Block a user