#23786: tutorial bug for
django.contrib.auth.middleware.SessionAuthenticationMiddleware
-------------------------------+--------------------
Reporter: bedros | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
when trying the tutorial part 5
in section testing the views
I got the error
{{{
ImproperlyConfigured: Module "django.contrib.auth.middleware" does not
define a "SessionAuthenticationMiddleware" attribute/class
}}}
after some searching on the web, I discovered that I need to comment out
that middleware in the settings.py
I wish someone updates the tutorial to mention the above fix
It's such show stopper for someone trying django tutorials for first time.
--
Ticket URL: <https://code.djangoproject.com/ticket/23786>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.9ef85d7d500badde603442620eb5a373%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.