That still requires either the view or context processor to somehow
know which layout each inner template extends (the 1-column version?
the 3-column version? etc.), which is something I'd prefer the inner
template to know.
On Oct 4, 6:42 pm, Kristaps Kūlis wrote:
>
Hello,
Just use RequestContext + context processor, which adds theme based
context.
Just use vars like base_template (which could be set to skin_basic_base.html
by context processor). Hope you got the idea.
Kristaps Kūlis
What this country needs is a good five cent
I'd like my templates to extend different templates depending on the
skin the user has selected.The trouble is that the {% extends %}
tag has to appear in the template file before any custom filters are
loaded, so I can't run something like
{% extends 'wrapper.html'|select_theme:user_theme
3 matches
Mail list logo