Commit d2f9f041 authored by Jan Enzo Salvador's avatar Jan Enzo Salvador

Modified the settings to make the project-level template work

parent fbbe5ae4
......@@ -12,6 +12,8 @@ https://docs.djangoproject.com/en/4.1/ref/settings/
from pathlib import Path
import os
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
......@@ -55,7 +57,7 @@ ROOT_URLCONF = 'enzosalvador_reading.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment