You need to add django.template.loaders.app_directories.Loader
to TEMPLATE_LOADERS
(if it was not already).
TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', )
Then change the folder structure so that the "templates" folder is in the application directory:
- <project_root> - app - templates - model1 - model2
Or for the correct firmware models so that they do not accidentally collide with other application names:
- <project_root> - app - templates - app - model1 - model2
source share