ip.
ip.

Reputation: 3314

django-registration password reset custom template not loading

I'm using django-registration for registering users, however when I want to use my own template for password reset I get the admin template and not the template I created. My template is in myapp/templates/registration/password_reset_form.html and my template loaders are properly set:

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
    )

What could I be missing?

I'm using Django 1.4

Upvotes: 9

Views: 2829

Answers (1)

ptrck
ptrck

Reputation: 731

Could it be that django.contrib.auth comes before myapp in your INSTALLED_APPS? That would mean that django finds the original template first and uses this one. More on this in the docs: https://docs.djangoproject.com/en/dev/ref/templates/api/#loader-types

Upvotes: 22

Related Questions