summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJure Cuhalev <jure@cuhalev.com>2024-06-08 12:17:27 +0200
committernessita <124304+nessita@users.noreply.github.com>2024-08-08 08:48:41 -0300
commitf8ef4579ea710f93ec7edc93c6f3f216bd55d6be (patch)
treeea73aeb2b47546f4d1047c1219664f131ff5140e /docs
parentcec62fb99e8ff63f30c7871a048ab15081142668 (diff)
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.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/index.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 6af2140717..407dd88e71 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.