[Fixed]-Password Reset Confirm don`t work

1๐Ÿ‘

I was facing the same problem then I removed the custom ResetPasswordRequestView view and used the default one given by django framework. All you need to do is create a template of named registration/password_reset.html and write url like below:

from django.contrib.auth import view as auth_view 
url(r'^password-reset/$', auth_view.ResetPasswordRequestView.as_view(),{'template_name':'registration/password_reset.html'} name="reset_password")

You can do the same for other urls also.You can find the code of ResetPasswordRequestView that we are calling. here

Leave a comment