From f8ef4579ea710f93ec7edc93c6f3f216bd55d6be Mon Sep 17 00:00:00 2001 From: Jure Cuhalev Date: Sat, 8 Jun 2024 12:17:27 +0200 Subject: [PATCH] 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. --- docs/ref/contrib/admin/index.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: `. #. 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.