python3akcages.django_compat: improve test fix
This commit is contained in:
parent
50e7173b95
commit
e8d5bdb7b3
|
@ -10,16 +10,12 @@ diff -Nur a/compat/tests/settings.py b/compat/tests/settings.py
|
|||
'compat.tests.test_app',
|
||||
]
|
||||
|
||||
-MIDDLEWARE_CLASSES = (
|
||||
+MIDDLEWARE = (
|
||||
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
+ 'django.contrib.messages.middleware.MessageMiddleware',
|
||||
+ 'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
+)
|
||||
+
|
||||
MIDDLEWARE_CLASSES = (
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
@@ -43,6 +50,7 @@
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
@@ -43,6 +44,7 @@
|
||||
'django.template.context_processors.i18n',
|
||||
'django.template.context_processors.tz',
|
||||
'django.template.context_processors.request',
|
||||
|
|
Loading…
Reference in New Issue