Re: Dynamic template extension

2006-05-31 Thread tomass
Great, this seems to work a treat! Thanks, Tom --~--~-~--~~~---~--~~ 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

Re: Dynamic template extension

2006-05-30 Thread Ivan Sagalaev
tomass wrote: >I don't seem to be able to do {% extends "base_{{ reseller }}_.html" %} >for instance. > > You can use the variable here like this: {% extends some_var %} But without anything fancy like concatenations. You should hence set some_var to a full template name before it gets i

Dynamic template extension

2006-05-30 Thread tomass
Hi Folks, I'm wondering if there's a way to include dynamic (context) data in an {% extends %} statement. I don't seem to be able to do {% extends "base_{{ reseller }}_.html" %} for instance. Thanks, Tom --~--~-~--~~~---~--~~ You received this message because y