The template code between 0.96 and 1.1.2 is not changed (much).

The include template node is looking relative to the directories in

django.conf.settings.TEMPLATE_DIRS

Find out what is in this list or tuple and write the include path
relative to one of the given directories.

2010/11/14 Brian <martinair.ameri...@gmail.com>:
> Thanks for the help.
>
> I'm using Python 2.5 and Django Template 1.1 on app engine
>
> 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 )
> root/LOGO.html      (1 level down)
> root/main/home.html <--tried: {% include "../LOGO.html" %} ,{% include
> "root/lib/LOGO.html" %} , {% include "/root/lib/logo.html" %}
> root/main/start.py
>
> I changed TEMPLATE_DIRS setting 20 ways.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to