summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/admin_checks/tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/admin_checks/tests.py b/tests/admin_checks/tests.py
index 52f2188c9f..5744dc1b39 100644
--- a/tests/admin_checks/tests.py
+++ b/tests/admin_checks/tests.py
@@ -214,6 +214,12 @@ class SystemChecksTestCase(SimpleTestCase):
checks.Error(
"'django.contrib.sessions.middleware.SessionMiddleware' "
"must be in MIDDLEWARE in order to use the admin application.",
+ hint=(
+ "Insert "
+ "'django.contrib.sessions.middleware.SessionMiddleware' "
+ "before "
+ "'django.contrib.auth.middleware.AuthenticationMiddleware'."
+ ),
id='admin.E410',
),
]