# django.template.exceptions.TemplateDoesNotExist: app/page.html

**Code:** `TemplateDoesNotExist` · **Category:** Python · **Seen on:** Python

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

1. Check the “Template-loader postmortem” paths
2. Use app/templates/<app>/<name>.html
3. Add the project templates folder to DIRS

## Detailed fix by platform

### Python

1. `TEMPLATES[0]["DIRS"] = [BASE_DIR / "templates"]`

## How to diagnose

1. **Paths** — Which paths were searched?
2. **Name** — Exact template name

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/python/django-templatedoesnotexist)
