I'd like to override Django's administrative "Change Password" page (change_password.html
). As such, I've placed Django's /contrib/admin/templates/registration/password_change_form.html
in my project's /templates/admin/registration/password_change_form.html
directory. Unfortunately, this doesn't seem to do the trick.
At this point, I'm stumped. I'm guessing it has something to do with Django's /contrib/auth/urls.py
file (which directs the the admin change password call to django.contrib.auth.views.password_change
), but admin template changes have been trivial so far and I'm surprised this one doesn't follow suit.
Any thoughts?
A quick look at the source indicates you should place the template in:
/templates/registration/password_change_form.html
Note bene: there is no 'admin/' in there.