Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Middleware Issue #3

Open
odellus opened this issue Aug 12, 2013 · 0 comments
Open

Middleware Issue #3

odellus opened this issue Aug 12, 2013 · 0 comments

Comments

@odellus
Copy link

odellus commented Aug 12, 2013

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. : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant