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 b1beded commit 846b6b1Copy full SHA for 846b6b1
oauth2_provider/tests/settings.py
@@ -57,13 +57,15 @@
57
},
58
]
59
60
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = (
61
'django.middleware.common.CommonMiddleware',
62
'django.contrib.sessions.middleware.SessionMiddleware',
63
'django.middleware.csrf.CsrfViewMiddleware',
64
'django.contrib.auth.middleware.AuthenticationMiddleware',
65
'django.contrib.messages.middleware.MessageMiddleware',
66
)
67
+# Django < 1.10 compatibility
68
+MIDDLEWARE_CLASSES = MIDDLEWARE
69
70
ROOT_URLCONF = 'oauth2_provider.tests.urls'
71
0 commit comments