how to give templates dir in django settings.py code example
Example: make new app folder in django templates dir
#settings.py
TEMPLATES = [
{
...
'DIRS': [os.path.join(BASE_DIR, 'templates'),
os.path.join(BASE_DIR, 'templates', 'the_folder_you_created'),
...
]
}
]