Commit a2afcbe8 authored by Maxime Bombar's avatar Maxime Bombar
Browse files

Modification, car déprecié en django 1.10

parent 555c460f
......@@ -162,7 +162,7 @@ TEMPLATES = [{
}]
#: A tuple of middleware classes to use. See `Middleware <https://docs.djangoproject.com/en/dev/topics/http/middleware/>`_.
MIDDLEWARE_CLASSES = (
MIDDLEWARE = [
# 'note.middleware.WhoAmiMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
......@@ -173,7 +173,7 @@ MIDDLEWARE_CLASSES = (
'django.contrib.messages.middleware.MessageMiddleware',
# Uncomment the next line for simple clickjacking protection:
# 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
]
#: A string representing the full Python import path to your root URLconf.
#: For example: "mydjangoapps.urls".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment