Skip to content
Justice Tech School

Template Settings

TEMPLATES controls where templates live.

Example
TEMPLATES = [{
    "BACKEND": "django.template.backends.django.DjangoTemplates",
    "DIRS": [BASE_DIR / "templates"],
    "APP_DIRS": True,
}]

Exercise

App folders.

"": True

Quiz Test

What does APP_DIRS do?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.