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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With