You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed#1 -- Added anonymous session support via middleware and request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create.
asserthasattr(request, 'session'), "The admin requires session middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.middleware.sessions.SessionMiddleware' before %r."%self.__class__.__name__
37
+
35
38
# Check for a logged in, valid user
36
39
ifself.user_is_valid(request.user):
37
40
return
38
41
39
-
# If this isn't alreay the login page, display it
42
+
# If this isn't already the login page, display it
0 commit comments