Errors that often occur in django Part 1 About template.exceptions.TemplateDoesNotExist (Note)

template.exceptions.TemplateDoesNotExist It was an error I often encountered while studying django! The meaning is awesome [There is no template! ] Simple error

The cause is ・ There is no template in the first place ・ The URL is incorrect ・ Simple description mistake And so on.

There is no template in the first place

Make sure that the template you want to display is in the folder.

Wrong URL

Check the entire urls.py and urls.py for each app, and check if the app is installed properly in settings.py.

Simple typo

Is the spelling correct, is the hierarchical structure displayed, etc.

Recommended Posts

Errors that often occur in django Part 1 About template.exceptions.TemplateDoesNotExist (Note)
Eliminate errors that occur when using Django REST Swagger with Django 3.0
(Note) Django in Vagrant environment
Errors related to memcached in django
[Tentative] Solution for SSL-related errors that occur in Windows + Discord.py ([SSL: CERTIFICATE_VERIFY_FAILED])
(Note) Template file search order in Django