django: finish tutorial

This commit is contained in:
2018-05-07 20:30:13 -07:00
parent bc6a424fbe
commit f342fc91db
4 changed files with 32 additions and 3 deletions

View File

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