Password reset template not working in django — admin password reset comes up instead

This was a real head scratcher. Not sure exactly why but, of all the templates used by django-registration, this one template has an issue. But it does.

registration/password_reset_form.html

For some reason, the admin password reset form comes up instead of that one.

The solution is to define the TEMPLATE_DIRS variable in your settings.py file. Like this:

TEMPLATE_DIRS = (‘myapp/templates/’, ‘myapp/templates/registration/’)

Of course, substitute your template dirs.

This entry was posted in django. Bookmark the permalink.

Comments are closed.