Modify settings.py.
TEMPLATES = [
{
...
'DIRS': [os.path.join(BASE_DIR, 'templates'),
os.path.join(BASE_DIR, 'your_app_name', 'templates', 'your_app_name'),
...
]
}
]
os.path.join(os.path.dirname(__file__) ,'../templates').replace('','/')
INSTALLED_APPS = [
'your_app_name'
]
#on settings.py
#check whether you have installed your app