Created
April 11, 2018 16:47
-
-
Save jayluxferro/56fc602efaa22ec263ae19fc4969a7f1 to your computer and use it in GitHub Desktop.
Django 2.0_Middleware
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Django 2.0 | |
| You can try this in your settings.py, MIDDLEWARE_CLASSES = [....]: | |
| Change MIDDLEWARE_CLASSES=[...] to MIDDLEWARE=[...] | |
| Remove SessionAuthenticationMiddleware from the MIDDLEWARE=[...] list. | |
| The MIDDLEWARE_CLASSES setting is deprecated in Django 1.10, and removed in Django 2.0. | |
| The SessionAuthenticationMiddleware class is removed. It provided no functionality since session authentication is unconditionally enabled in Django 1.10. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment