django default template location
- Locate the "TEMPLATES" setting in the Django project's settings.py file.
- The "DIRS" option within the "TEMPLATES" setting specifies the list of directories where Django should look for templates.
- By default, the "DIRS" option is an empty list, so Django will look for templates in the "templates" subdirectory of each app in the project.
- If the project uses a different directory structure, the "DIRS" option can be modified to include the appropriate template directories.
- After updating the "DIRS" option, save the settings.py file and Django will now look for templates in the specified directories.