Create the templates directory in your project and set TEMPLATE_DIRS in the settings to include it, as shown here:
# project/settings.py
TEMPLATES = [{
# ...
'DIRS': [
# ...
os.path.join(BASE_DIR, "templates"),
],
}]
Create the templates directory in your project and set TEMPLATE_DIRS in the settings to include it, as shown here:
# project/settings.py
TEMPLATES = [{
# ...
'DIRS': [
# ...
os.path.join(BASE_DIR, "templates"),
],
}]
18.218.38.125