I keep getting TemplateDoesNotExist
and I can't figure out how to debug it. I've added the folder in which the template sits into the TEMPLATE_DIRS
tuple and when I call get_template
from within my .py
file, the template loads fine, however when I call it from within a template fine using the extends
tag, it raises TemplateDoesNotExist
.
The template file isn't under a static_files
path in the app.yaml
.
What confuses me is why it loads fine with get_template
but not with extend
.
Is there a way I can find out the path in which Django is looking?