Opened 7 years ago

Closed 7 years ago

#15228 closed (duplicate)


Reported by: CarlFK Owned by: nobody
Component: contrib.admin Version: 1.3-beta
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


stock django user auth, trying to change password = error.

"Use '[algo]$[salt]$[hexdigest]' or use the _change password form_" click
abc<tab>abc click done:

RuntimeError at /admin/auth/user/1/password/template_error

You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to localhost:8080/admin/auth/user/1/password/template_error/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.

Change History (2)

comment:1 Changed 7 years ago by CarlFK

Component: Authenticationdjango.contrib.admin
Summary: admin/.../password/template_errorTEMPLATE_STRING_IF_INVALID breaks admin

in my


comment:2 Changed 7 years ago by Matt McClanahan

Resolution: duplicate
Status: newclosed

Yes, it does break the admin. This is documented behavior, but #3579 tracks resolving the dependency.

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