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'
- [Django]-Psycopg2.errors.ActiveSqlTransaction: CREATE DATABASE cannot run inside a transaction block
- [Django]-How to create template tags in django and use Form?
- [Django]-I can't install 'pip install pil' in Osx
- [Django]-Moving an existing Django project into a virtual environment
Source:stackexchange.com