4👍
✅
Which version of Django you are using?
Have you setup TEMPLATE_DIRS or DIRS to instruct Django where to look for templates?
Posting your settings.py, urls.py and views.py will help to get the issue at first place.
Have a look at the documentation for template settings for latest version.
updates
Remove TEMPLATE_DIRS from settings.py
Add standard Django 1.8.x template settings
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(MAIN_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
check update notes.
Source:stackexchange.com