From 791aa4dd9dd6a82e0743d53c7ee59f159954304a Mon Sep 17 00:00:00 2001 From: Aravindkrishna <37620304+Aravindkrishna30@users.noreply.github.com> Date: Mon, 14 Dec 2020 13:05:33 +0530 Subject: [PATCH] Update 86 Django Template Language DTL.txt import os #Added due to the Error: os not defined DIRS: projectname(telusko)/templates #project name added due to templates not found ! --- 86 Django Template Language DTL.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/86 Django Template Language DTL.txt b/86 Django Template Language DTL.txt index afd5ebe..3cdafd7 100644 --- a/86 Django Template Language DTL.txt +++ b/86 Django Template Language DTL.txt @@ -45,5 +45,7 @@ urlpatterns = [ -------------------------------------------------------------------------------- settings.py -------------------------------------------------------------------------------- - - 'DIRS': [os.path.join(BASE_DIR, 'templates')], +'top of the program': +import os +from pathlib import Path +'DIRS': [os.path.join(BASE_DIR, 'telusko/templates')],