Hi,
In the django documentation
(http://docs.djangoproject.com/en/dev/topics/templates/) it says that {%
extends %} tag should be the first one. Is there a way to create variable base
templates? Like this:
{% if is_blah %}
{% extends 'base.html' %}
{% else %}
{% extends 'base2.html' %}
{% endif %}
I tried this and did not work.
Thanks, global
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.