We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ad440f commit 98d5ce3Copy full SHA for 98d5ce3
rest_auth/tests/settings.py
@@ -25,14 +25,17 @@
25
}
26
27
28
-MIDDLEWARE_CLASSES = [
+MIDDLEWARE = [
29
'django.middleware.common.CommonMiddleware',
30
'django.contrib.sessions.middleware.SessionMiddleware',
31
'django.middleware.csrf.CsrfViewMiddleware',
32
'django.contrib.auth.middleware.AuthenticationMiddleware',
33
'django.contrib.messages.middleware.MessageMiddleware'
34
]
35
36
+# Adding for backwards compatibility for Django 1.8 tests
37
+MIDDLEWARE_CLASSES = MIDDLEWARE
38
+
39
TEMPLATE_CONTEXT_PROCESSORS = [
40
'django.contrib.auth.context_processors.auth',
41
'django.core.context_processors.debug',
0 commit comments