diff options
| author | Jure Cuhalev <jure@cuhalev.com> | 2024-06-08 12:17:27 +0200 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2024-08-08 08:50:27 -0300 |
| commit | ecf13f192de7c26a7606f5ba46a3773a9c84ef72 (patch) | |
| tree | 935dc25249ef4333259a7bfb3dd1ecd20040a0ec /docs/ref | |
| parent | 73fcb14cd86fa320322437b9827e465115fb6043 (diff) | |
[5.1.x] 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.
Backport of f8ef4579ea710f93ec7edc93c6f3f216bd55d6be from main.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 5c9c35e263..c2061f11ab 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -41,7 +41,8 @@ If you're not using the default project template, here are the requirements: <TEMPLATES-OPTIONS>`. #. 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 included. |
