Thanks for the help, Still can not get it to work. I changed TEMPLATE_DIRS setting 30 ways.
I can't seem to move down the dir tree for inserting of html files using {% include "file" %} statement, Works just fine to any where up the tree, i can go up 3,4 levels just fine, but can not go down even 1 {% include "../LOGO.html" %} Sample dir structure: root/lib/LOGO.html (1 level down then 1 level up, not working ) root/LOGO.html (1 level down, not working) root/main/home.html <--tried: {% include "../LOGO.html" %} ,{% include "root/lib/LOGO.html" %} , {% include "/root/lib/logo.html" %} root/main/start.py root/main/LOGO.html (works fine) root/main/include/LOGO.html (works fine) To test I put just directory text inside the html file so I know what is displaying Thanks. On Nov 10, 4:51 pm, Shawn Milochik <sh...@milochik.com> wrote: > On Wed, Nov 10, 2010 at 4:42 PM, Brian <martinair.ameri...@gmail.com> wrote: > > Dan, Thanks for the reply. > > > I just can not get it to work. Works just fine in same or any > > directory under the dir that the .py file is in. > > > I played with TEMPLATE_DIRS setting without any luck, tested to the > > root dir and still does not work even with "../Top.html" in the dir > > under it. > > Have you tried using the full path to the template? The paths you use > in the templates are based on the TEMPLATE_DIRS value in settings.py. > > So if you have: > > TEMPLATE_DIRS = ( > '/home/me/abc', > '/home/other/def', > ) > > Where abc contains a folder named app01 and def contains a folder > named 'app02,' then in a template in app01 you should be able to do > this: {% include "app02/template.html" %} -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.