Opened 17 years ago

Closed 17 years ago

#5130 closed (duplicate)

admin/views/auth.py change password is not working

Reported by: javierder@… Owned by: Adrian Holovaty
Component: contrib.admin Version: 0.96
Severity: Keywords: admin auth
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Error code:

File "/var/lib/python-support/python2.5/django/contrib/admin/views/auth.py" in user_change_password

  1. 'title': _('Change password: %s') % escape(user.username),

ValueError at /admin/auth/user/2/password/
unsupported format character 'S' (0x53) at index 22

The fix is really easy, in http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/views/auth.py#L64
just change
'title': _('Change password: %s' ) % escape(user.username),
for
'title': _('Change password: %s' % escape(user.username)) ,

i think this is self explanatory.

Change History (1)

comment:1 by James Bennett, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #5132.

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