On Tue, 2008-10-07 at 02:51 -0700, zvoase wrote:
> [...]
> {% inherit "somefile.html" %}
> 
> {% block css %}
> <!-- REPEAT THE OLD CSS LINK TAG: -->
> <link rel="stylesheet" type="text/css" href="/css/somefile.css" />
> <!-- EXTRA CSS: -->
> <link rel="stylesheet" type="text/css" href="/css/anotherfile.css" />
> {% endblock %}

You seem to have overlooked {{ block.super }} in the documentation. It's
for exactly this case.

http://docs.djangoproject.com/en/dev/topics/templates/#template-inheritance

Regards,
Malcolm


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