Can I wrap the "extends" tag in an "if" tag? I tried it but I get:
Invalid block tag: 'endif'
{% if show_header %}
{% extends "base.html" %}
{% endif %}
Is there another way of doing this? I want my view to control whether
the header is displayed or not. Thanks
--
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.