On 9/4/06, Cole Tuininga <[EMAIL PROTECTED]> wrote:
> The idea being that my individaul page templates can simply {% inherit
> "base.tmpl" %} and then simply do something like:
>
> {% block title %}The title for the particular template{% endblock %}
>
> However, when I render this, it turns out to *always* display with the
> default content from doc_head.tmpl (ie "Section Title"). What am I
> doing wrong here?
Hi Cole,
I believe the {% include %} tag doesn't integrate with template
inheritance as you're expecting it to.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---