Skip to content

Commit 68513d4

Browse files
committed
fix: remove usage of old MIDDLEWARE_CLASSES
1 parent b7be1e2 commit 68513d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ def local_path(path):
3232

3333
ROOT_URLCONF = 'tests.urls'
3434

35-
MIDDLEWARE = MIDDLEWARE_CLASSES = (
35+
MIDDLEWARE = [
3636
'django.contrib.sessions.middleware.SessionMiddleware',
3737
'django.contrib.auth.middleware.AuthenticationMiddleware',
3838
'django.contrib.messages.middleware.MessageMiddleware',
3939
'django.middleware.common.CommonMiddleware',
4040
'django.middleware.csrf.CsrfViewMiddleware',
41-
)
41+
]
4242

4343
MEDIA_URL = '/media/'
4444

0 commit comments

Comments
 (0)