I have a couple of questions regarding how the password reset works in Django.
How can I do testing on password reset testing during development phase?
The password reset sends email to unregistered email addresses successfully (as appears on screen). I thought it should display "no such registered email address is found" instead of displaying "password reset successful".
Here is the form used for password reset. I am confused from the form action. It submits to itself which is
http://127.0.0.1:8000/accounts/password/reset/
but how is that it is redirected tohttp://127.0.0.1:8000/accounts/password/reset/done/
after submission when it submits to itself.{% extends "registration/registration_base.html" %} {% load i18n %} {% block title %}{% trans "Reset password" %}{% endblock %} {% block content %}{% blocktrans %} Forgot your password? Enter your email in the form below and we'll send you instructions for creating a new one.{% endblocktrans %} <form method='post' action=''>{% csrf_token %} <table> {{ form }} <tr><td></td><td><input type='submit' value="{% trans "Reset password" %}" /></td></tr> </table> </form> {% endblock %}