Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#11257 closed (invalid)

using password_change get me a reverse exception

Reported by: zodman Owned by: nobody
Component: Contrib apps Version: dev
Severity: Keywords: password_change
Cc: zodman@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

im use change_password on a app

im add on my app djangoproject/urls.py
...

(r'password/$','django.contrib.auth.views.password_change'),

....
and visit /accounts/password/

Exception Type: NoReverseMatch at /accounts/password/
Exception Value: Reverse for '<function password_change_done at 0x01587D70>' with arguments '()' and keyword arguments '{}' not found.

post_change_redirect = reverse('django.contrib.auth.views.password_change_done')

the reverse its defined on django.contrib.auth.urls but only works on admin

Change History (3)

comment:1 by zodman, 15 years ago

Cc: zodman@… added

comment:2 by dc, 15 years ago

Resolution: invalid
Status: newclosed

Include (r'password/done/$', 'django.contrib.auth.views.password_change_done') to your urls.py

Please post usage questions to the django-users list.

comment:3 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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