Is there anyway to use {% block %} in an included template?

I have a header template, that's included in a few generic base
templates. I had hoped to declare some global stylesheets/javascript
in the header, along with a {% block header %} tag, to allow other
templates to insert their own dependencies as well. However, it seems
like all block tags in included files are being ignored. If I move the
header block into my base template, then inheriting templates can
insert their own headers just fine.

Is {% include %} meant just for static content?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to