django.template.exceptions.TemplateDoesNotExist: app/page.html
Django searched all template directories and couldn’t find that template.
Meaning
The debug page lists every path the loaders tried. Usually the app isn’t in INSTALLED_APPS, the folder layout misses the app-name subfolder, or TEMPLATES['DIRS'] is wrong.
Common causes
- App not in INSTALLED_APPS
- Template not in app/templates/app/
- TEMPLATES DIRS missing BASE_DIR / "templates"
- Typo/case in the template name
⚡ Quick fix
- Check the “Template-loader postmortem” paths
- Use app/templates/<app>/<name>.html
- Add the project templates folder to DIRS
Detailed fix by platform
Python
TEMPLATES[0]["DIRS"] = [BASE_DIR / "templates"]
How to diagnose
- Paths — Which paths were searched?
- Name — Exact template name
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Python
Other ways to find it
Where this error sits
Origin: Application & API. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 12 Oct 2026