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
I went through all of the steps on the tutorial to get the example working, but when I direct my browser to 127.0.0.1:8000 to see the development page, I get the following error.
AssertionError at / The Django authentication middleware requires session middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.sessions.middleware.SessionMiddleware'.
When I scroll down the page to look at my settings, I find the following to be defined:
I went through all of the steps on the tutorial to get the example working, but when I direct my browser to 127.0.0.1:8000 to see the development page, I get the following error.
AssertionError at / The Django authentication middleware requires session middleware to be installed. Edit your MIDDLEWARE_CLASSES setting to insert 'django.contrib.sessions.middleware.SessionMiddleware'.
When I scroll down the page to look at my settings, I find the following to be defined:
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware')
Not sure what to do next. : )
The text was updated successfully, but these errors were encountered: