app_name/templates/*.html
whereas to get it to work, I had to put them in
app_name/templates/app_name/*.html
It also seems like it looks for templates in (which I could see from the error message when failing with the first approach)
app_name1/templates/app_name2/*.html
I can see the power of that when having a hierarchy of apps. Am I missing something here?
Per-Olof
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/UqR9rCgRwv4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment