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.

Reply via email to