I had yet another suggestion: use template vars for block repetitions, such as:

<html>
<head>
<title>{% block title %}Page Title{% endblock %} | Some Site</title>
</head>
<body>
<h1>{{ block.title }}</h1>
</body>
</html>

Make the "block object" suitably lazy and in most cases I would think
it "should just work"...  (I used {{ block.title }} rather than {{
blocks.title }} to mirror the existing {{ block.super }} var...)
Assuming the order of template rendering is what I remember thinking
it was...

-- 
--Max Battcher--
http://www.worldmaker.net/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to