Browse Source

Fix middlewares

Denis K 7 years ago
parent
commit
75677c315b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jet/tests/settings.py

+ 1 - 1
jet/tests/settings.py

@@ -24,7 +24,7 @@ INSTALLED_APPS = (
     'jet.tests',
 )
 
-MIDDLEWARE_CLASSES = (
+MIDDLEWARE = MIDDLEWARE_CLASSES = (
     'django.contrib.sessions.middleware.SessionMiddleware',
     'django.middleware.common.CommonMiddleware',
     'django.middleware.csrf.CsrfViewMiddleware',