I have an interesting case that I would like to get some input on,
perhaps I am just thinking about it incorrectly.

It seems useful to have a conditional statement which will check to
see if a child template has populated a block.

  <div id="header">
    <h1>{% block header %}Page Heading{% endblock %}</h1>
  </div>

If the block header wasn't sent back, I would like to collapse the
header field. Does this seem like something useful or am I going about
it the wrong way?


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