Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8520 closed (fixed)

password_change() got an unexpected keyword argument 'post_save_redirect'

Reported by: Karen Tracey Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords:
Cc: password_change(), got, an, unexpected, keyword, argument, 'template_name' Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As reported on the user's list: http://groups.google.com/group/django-users/browse_thread/thread/1906d4819565f78c

the admin change password link generates an exception. This was introducted in [8473]. The new parameter to change_password was called 'post_change_redirect' in change_password itself but 'post_save_redirect' in the code that attempts to pass in the new parameter. I'll attach a patch that uses the change_password name consistently.

Attachments (1)

redirect.diff (561 bytes ) - added by Karen Tracey 16 years ago.

Download all attachments as: .zip

Change History (4)

by Karen Tracey, 16 years ago

Attachment: redirect.diff added

comment:1 by Brian Rosner, 16 years ago

Resolution: fixed
Status: newclosed

(In [8523]) Fixed #8520 -- Corrected a dumb typo in the call to password_change in django/contrib/admin/sites.py. Thanks Karen Tracey for catching this.

comment:2 by anonymous, 16 years ago

Cc: password_change() got an unexpected keyword argument 'template_name' added

comment:3 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

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