A follow-up question.
The following works [filename=baseMain.html]:
<html>
{% include templateHead %}
{% include templateBody1 %}
<br/>StartBodyBlock<br/>
{%block body%}
Default Block Body
{%endblock%}
<br/>EndBodyBlock<br/>
{% include templateBody2 %}
</html>
but if I combine templateBody1 and templateBody2 into one file, and
put the {%block body%} in that file, instead of the baseMain.html, it
does not work. Wouldn't the include treat the "block body" as part of
the baseMain.html?
Thanks
Neal
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---