[Django]-Template password_reset_form.html does not overwrite the django admin template

3👍

I think I understand your problem and I believe it is identical to this one: How to override my template instead of django admin panel for reset password?

Make sure your application name is the first one in the list of INSTALLED_APPS in settings.py. That solved it for me.

1👍

Are you using CBV (class based views)? In views.py or in urls.py set template_name.

example:

path('question_directory/', views.UpdateDirectry.as_view(template_name='accounts/profile_form.html'), name='question_directory')

or

class UpdateDirectry(generic.edit.FormView):
    model = Question
    template_name = 'accounts/editable_directory.html'
👤Amin.B

Leave a comment