mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
Doc'd that SessionMiddleware is required for the admin site.
The system check "admin.E410" was already checking for this, but the requirement was not listed in docs/ref/contrib/admin/index.txt.
This commit is contained in:
parent
cec62fb99e
commit
f8ef4579ea
@ -41,7 +41,8 @@ If you're not using the default project template, here are the requirements:
|
|||||||
<TEMPLATES-OPTIONS>`.
|
<TEMPLATES-OPTIONS>`.
|
||||||
|
|
||||||
#. If you've customized the :setting:`MIDDLEWARE` setting,
|
#. If you've customized the :setting:`MIDDLEWARE` setting,
|
||||||
:class:`django.contrib.auth.middleware.AuthenticationMiddleware` and
|
:class:`django.contrib.sessions.middleware.SessionMiddleware`,
|
||||||
|
:class:`django.contrib.auth.middleware.AuthenticationMiddleware`, and
|
||||||
:class:`django.contrib.messages.middleware.MessageMiddleware` must be
|
:class:`django.contrib.messages.middleware.MessageMiddleware` must be
|
||||||
included.
|
included.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user