I tried to implement the password_change view but is not working. I only add the code below to the urls.py:
url(
r'^change-password/$',
auth_views.password_change,
name='change_password'
),
url(
r'^change-password/done$',
auth_views.password_change_done,
name='change_password_done'
),
...
In the base.html template. Add the <a> tag with href="{% url 'change_password' %}". When I click on it. I get this error:
NoReverseMatch at /change-password/
Reverse for 'password_change_done' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Thank you for your help.