I looked through the documentation, and tried a few experiments - it looks
like you can't - but I wanted to make sure I wasn't doing something wrong:

We tried to do something like:

{% if {{trigger_variable}} %}
   {% block foo %}
   {% endblock foo %}
{% else %}
   {% block altfoo %}
   {% endblock altfoo %}
{% endif %}


Other tags nest nicely within the {% if %}, so it seemed reasonable when we
first tried it.

We ended up doing {% include %} inside of the {% if %}{% endif %} nesting to
get what we wanted done.

-joe

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to