Skip to content

Commit

Permalink
settings: remove SessionAuthenticationMiddleware
Browse files Browse the repository at this point in the history
According to the 1.10 release notes [1] it has no purpose and can be removed.

[1] https://docs.djangoproject.com/en/1.10/releases/1.10/#features-removed-in-1-10
  • Loading branch information
lepistone authored Apr 24, 2017
1 parent 9b400a1 commit e403ed2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion project_name/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
Expand Down

0 comments on commit e403ed2

Please sign in to comment.