Can any one point me to code where users can change their own passwords in Django?
Very similar to @Ciro's answer, but more specific to the original question (without adding all the authentication views):
just add to urlpatterns
in urls.py
:
url('^change-password/$', auth_views.password_change, {'post_change_redirect': 'next_page'}, name='password_change'),
Note that post_change_redirect
specifies the url to redirect after the password is changed.
Then, just add to your template:
Change Password