Can't move down then up the directory tree for inserting of html files
Thanks for the help.
I'm using Python 2.5 and Django Template 1.1
I can't seem to move down then up the directory tree for inserting of
html files using {% include file %} statement
Sample dir structure:
root/
root/lib/
root/lib/Top.html
root/main/
root/main/include/HomeLogo.html
root/main/HOME.html
Inside HOME.html I can use {% include "/include/HomeLogo.html" %} =
Works just fine to any where up the tree.
BUT
I can not find a way to include the top.html file in home.html.
I tried {% include "/lib/Top.html" %}, {% include "lib/Top.html" %} ,
{% include "../lib/Top.html" %}, {% include "./lib/Top.html" %}
can not find a way to insert the html in.
Thanks again.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
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.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home