template dir settings

This commit is contained in:
Asif Saif Uddin 2018-09-03 14:54:37 +06:00
parent 6ae2354d2a
commit 8636f6ce98

View file

@ -65,7 +65,7 @@ ROOT_URLCONF = 'example.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [