瀏覽代碼

Fix middlewares

Denis K 7 年之前
父節點
當前提交
75677c315b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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',