summaryrefslogtreecommitdiff
path: root/tests/auth_tests/settings.py
diff options
context:
space:
mode:
authorFlorian Apolloner <florian@apolloner.eu>2015-11-07 16:12:37 +0100
committerTim Graham <timograham@gmail.com>2016-05-17 07:22:22 -0400
commit9baf692a58de78dba13aa582098781675367c329 (patch)
tree1926555441d0c3b13185782dce193b839d616a4a /tests/auth_tests/settings.py
parent05c888ffb843ba3eff06cd07b3cef5bbb513a54f (diff)
Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
Diffstat (limited to 'tests/auth_tests/settings.py')
-rw-r--r--tests/auth_tests/settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth_tests/settings.py b/tests/auth_tests/settings.py
index 7da6144d4b..8c295387c4 100644
--- a/tests/auth_tests/settings.py
+++ b/tests/auth_tests/settings.py
@@ -2,7 +2,7 @@ import os
from django.utils._os import upath
-AUTH_MIDDLEWARE_CLASSES = [
+AUTH_MIDDLEWARE = [
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
]