Opened 9 years ago

Closed 9 years ago

#4450 closed (fixed)

[newforms-admin] Change password form in edit form for user causes ProgrammingError

Reported by: Glin Owned by: adrian
Component: contrib.admin Version: newforms-admin
Severity: Keywords:
Cc: andy-django@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


In newforms-admin branch, when I go to Users, then click to specific user(or click to add user), then in password section in form click to "change password form", I get error such as this:

ProgrammingError at /admin/auth/user/1/password/
invalid input syntax for integer: "1/password"

Request Method:  	GET
Request URL:

Exception Type: 	ProgrammingError
Exception Value: 	invalid input syntax for integer: "1/password"
Exception Location: 	/usr/lib/python2.4/site-packages/django/db/backends/ in execute, line 17

Attachments (1)

user_change_password.patch (1.6 KB) - added by Jakub Wiśniowski <news.crumbler@…> 9 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 9 years ago by adrian

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 9 years ago by adrian

  • Version changed from SVN to newforms-admin

comment:3 Changed 9 years ago by adrian

This is happening because the previous (trunk) admin overrides the admin URLconf value for /auth/user/ as a special case, and newforms-admin doesn't do that yet.

comment:4 Changed 9 years ago by anonymous

  • Cc andy-django@… added

Changed 9 years ago by Jakub Wiśniowski <news.crumbler@…>

comment:5 Changed 9 years ago by Jakub Wiśniowski <news.crumbler@…>

  • Has patch set

I attached a simple patch that solves the problem for me.

comment:6 Changed 9 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(In [5998]) newforms-admin: Fixed #4450 -- Added URL override for user password changes in admin interface. Thanks for the help on this, Jakub Wisniowski.

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