Closed Cereal2nd closed 9 years ago
note, for some templates it works perfectly, for others that are in the same dir it does not work
Can you give an example of template files it works for and those it won't? It seems odd that you'd be able to use some templates and not others, even if they're in the same directory.
ticket can be closed, i solved it.
i had template A this includes template B and template B includes Template C
for the include of template C i missed the theme(c.html) part, so i had the regular include.
because of this template C was not found (what is corect), but the error i got is that template A was not found ...
Ah, good old deceptive error messages. No problem.
So jinja2 finds the templates in the directory.
now in my application i get the following
and this is my render method
But still i get a templateNotFOundError, althought its there