[3.1.x] Fixed #31575 -- Added system check for admin sidebar request context processor dependency.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of d522b51c40 from master
This commit is contained in:
Jon Dufresne 2020-05-14 10:27:35 +02:00 committed by Mariusz Felisiak
parent c9a9d042e5
commit 1c2d0fdf3e
7 changed files with 52 additions and 3 deletions

View file

@ -734,6 +734,9 @@ The following checks are performed on the default
must be in :setting:`MIDDLEWARE` in order to use the admin application.
* **admin.E410**: :class:`django.contrib.sessions.middleware.SessionMiddleware`
must be in :setting:`MIDDLEWARE` in order to use the admin application.
* **admin.W411**: ``django.template.context_processors.request`` must be
enabled in :class:`~django.template.backends.django.DjangoTemplates`
(:setting:`TEMPLATES`) in order to use the admin navigation sidebar.
``auth``
--------