On Thu, 2007-11-15 at 23:50 -0800, timbu wrote: > I am trying to use variable(path) and string(file name) in ssi or > include tags. > > In template: > {{dir}}file.html > Prints: > /dir/file.html > but.. > How to do: {% include /dir/file.html %} > using {{dir}} variable and string in include or ssi tag?
You don't. Either the full name to include is in the variable, or you only use a literal string. Malcolm -- Many are called, few volunteer. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---