I am trying to render the file home.html. The file exists in my project, but I keep getting jinja2.exceptions.TemplateNotFound: home.html when I t
home.html
jinja2.exceptions.TemplateNotFound: home.html
I don't know why, but I had to use the following folder structure instead. I put "templates" one level up.
project/ app/ hello.py static/ main.css templates/ home.html venv/
This probably indicates a misconfiguration elsewhere, but I couldn't figure out what that was and this worked.