Opened 18 years ago
Closed 17 years ago
#4450 closed (fixed)
[newforms-admin] Change password form in edit form for user causes ProgrammingError
Reported by: | Glin | Owned by: | Adrian Holovaty |
---|---|---|---|
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: | no | UI/UX: | no |
Description
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: http://127.0.0.1:8000/admin/auth/user/1/password/ Exception Type: ProgrammingError Exception Value: invalid input syntax for integer: "1/password" Exception Location: /usr/lib/python2.4/site-packages/django/db/backends/util.py in execute, line 17
Attachments (1)
Change History (7)
comment:1 by , 18 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 18 years ago
Version: | SVN → newforms-admin |
---|
comment:3 by , 18 years ago
comment:4 by , 17 years ago
Cc: | added |
---|
by , 17 years ago
Attachment: | user_change_password.patch added |
---|
comment:5 by , 17 years ago
Has patch: | set |
---|
I attached a simple patch that solves the problem for me.
comment:6 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.