Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#11257 closed (invalid)

using password_change get me a reverse exception

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

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 Changed 8 years ago by zodman

Cc: zodman@… added

comment:2 Changed 8 years ago by dc

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 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

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