Skip to content

Commit 66be14a

Browse files
committedAug 2, 2016
Django 1.10
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
1 parent efce4de commit 66be14a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed
 

‎nikolausers/settings.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,15 @@
4545
'newrelic.extras.framework_django',
4646
)
4747

48-
MIDDLEWARE_CLASSES = (
48+
MIDDLEWARE = [
49+
'django.middleware.security.SecurityMiddleware',
4950
'django.contrib.sessions.middleware.SessionMiddleware',
5051
'django.middleware.common.CommonMiddleware',
5152
'django.middleware.csrf.CsrfViewMiddleware',
5253
'django.contrib.auth.middleware.AuthenticationMiddleware',
53-
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
5454
'django.contrib.messages.middleware.MessageMiddleware',
5555
'django.middleware.clickjacking.XFrameOptionsMiddleware',
56-
'django.middleware.security.SecurityMiddleware',
57-
)
56+
]
5857

5958
ROOT_URLCONF = 'nikolausers.urls'
6059

‎requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
decorator==4.0.6
2-
Django==1.9.4
2+
Django==1.10
33
docopt==0.6.2
44
ipython==4.0.1
55
ipython-genutils==0.1.0

0 commit comments

Comments
 (0)
Please sign in to comment.