From 8636f6ce9851a876a8b5323d6925d4e54ca95fd7 Mon Sep 17 00:00:00 2001 From: Asif Saif Uddin Date: Mon, 3 Sep 2018 14:54:37 +0600 Subject: [PATCH] template dir settings --- example/example/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example/settings.py b/example/example/settings.py index e8a4116..3b5ecec 100644 --- a/example/example/settings.py +++ b/example/example/settings.py @@ -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': [