Opened 8 years ago

Closed 8 years ago

#10484 closed (invalid)

Problem logging in to the admin after upgrading django framework.

Reported by: Jonas Fogelberg Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I transfered a project from an old release 0.96.x I believe to the 1.0 version of django, and could not log into the admin. It seems the authentication subsystem could not calculate the correct password or could not find the user in the database (SQLite3).
After some digging I found that it was a reference to a middleware-class (django.middleware.doc.XViewwMiddleware) in my MIDDLEWARE_CLASSES setting (settings.py) that caused the problems. Removing this resolved the problem.
Maybe you could add this piece of information to the FAQ.

I must add that I think the documentation is excellent!

Change History (1)

comment:1 Changed 8 years ago by Jacob

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: invalid
Status: newclosed

The XViewMiddleware doesn't cause the problem you describe: if it did, we'd have a lot more bug reports of this nature.

Note: See TracTickets for help on using tickets.
Back to Top