On 6/1/06, Wei Litao <[EMAIL PROTECTED]> wrote: > I have a template which reside in 'myapp/tmpl1.html'. In this template I > want to 'include' another template which reside in 'myapp/tmpl2.html'. But I > don't want to use the syntax as '{% include "myapp/tmpl2.html" %}' . > Instead, i want simply use something like '{% include " tmpl2.html" %}' , > because tmpl2.html lived in the same folder as tmpl1.html. Is it possible to > do that?
The 'include' tag can accept relative paths. The 'ssi' tag, however, only accepts absolute paths. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---