Use Django 1.10 MIDDLEWARE syntax
This commit is contained in:
parent
c3ac4a71c7
commit
c3486b31c7
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ INSTALLED_APPS = [
|
|||
'django.contrib.staticfiles',
|
||||
]
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
MIDDLEWARE = [
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
|
|
Loading…
Reference in a new issue