settings: switch to MIDDLEWARE
This commit is contained in:
parent
d57bfbccc1
commit
80533ac849
|
@ -42,7 +42,7 @@ INSTALLED_APPS = (
|
|||
'rest_framework',
|
||||
)
|
||||
|
||||
MIDDLEWARE_CLASSES = (
|
||||
MIDDLEWARE = (
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
|
|
Reference in New Issue