Use Django 1.10 MIDDLEWARE syntax

This commit is contained in:
Gabriel Augendre 2016-08-27 21:14:05 +02:00
parent c3ac4a71c7
commit c3486b31c7
No known key found for this signature in database
GPG key ID: D2B6A5B41FC438B1

View file

@ -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',