On Sep 18, 8:50 am, "Daniele Procida" <[EMAIL PROTECTED]>
wrote:
> I have a base.html template.
>
> In it I've inserted:
>
>     {% block stylesheets %}{% endblock %}
>
> and in stylesheets.html in the same directory:
>
>     {% extends "base.html" %}
>         {% block stylesheets %}
>             <--- my styles --->
>         {% endblock %}
>
> But the {% block stylesheets %} in stylesheets.html isn't filling in the
> block in base.html - obviously I'm missing something simple here; what is it?
>
> Thanks,
>
> Daniele

Please start a new thread, rather than piggy-backing onto an existing
one.

You don't show how you're calling this template from your view. Are
you sure you're rendering the child template (stylesheets.html) rather
than base.html?

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

Reply via email to