[extensions-web] django: SessionAuthenticationMiddleware is mandatory since 1.10



commit d2152c64670df4297272e0665d3163fbfb574c33
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sat Dec 1 23:52:07 2018 +0400

    django: SessionAuthenticationMiddleware is mandatory since 1.10

 sweettooth/settings.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/sweettooth/settings.py b/sweettooth/settings.py
index d16b422..01d0bd5 100644
--- a/sweettooth/settings.py
+++ b/sweettooth/settings.py
@@ -70,6 +70,7 @@ MIDDLEWARE_CLASSES = (
     'django.middleware.clickjacking.XFrameOptionsMiddleware',
     'django.middleware.security.SecurityMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
+    'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]