Monday, February 8, 2010

Page not found for password_reset_confirm

Hi all,

I am implementing "Forgot your password" feature using following
tutorial.

http://www.rkblog.rk.edu.pl/w/p/password-reset-django-10/

My email for password gets sent. but once I click the URL in the mail
get page not found error.

My urls.py is

urlpatterns += patterns('django.contrib.auth.views',
(r'^forgot-password/?$', 'password_reset'),
(r'^password_reset/done/$', 'password_reset_done'),
(r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
'password_reset_confirm'),
(r'^reset/done/$', 'password_reset_complete'),
)

Why cannot it find the generated URL.
Also, I want to know how one changes the subject of the generated
mail. I get "Password reset on example.com" as my subject.

Thanks,
Sincerely,
Sonal.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate