I follow the advice in use a lot of blocks for my site desing, is truly flexible this way.
However, I have a problem understanding why a parent block not get rendered. I think is related of use of includes. I have this: I have the templates inside each app, example:jhonWeb\shared\core \templates\core (core is the app) Then for each website I replicate it, for example jhonWeb \paradondevamos\templates\core paradondevamos\templates\core\Skin.html is the base html. Inside it I have the problematic block: {% block barraHerramientas %} <p>Barra de herramientas</p> {% endblock %} Then I have another: jhonWeb\paradondevamos\templates\events\event_base.html {% extends "core/skin.html" %} {% block barraHerramientas %} {% include "events/event_bar.html" %} {% endblock %} And then I split the events in several templates. For example: jhonWeb\paradondevamos\templates\events\event_archive.html {% extends "events/event_base.html" %} {% block contenido %} {%with latest as object_list %} {%include "events/event_list.html" %} {% endwith %} {% endblock %} And this work fine. But when I point to another, like jhonWeb\paradondevamos\templates\events\event_detail.html {% extends "events/event_base.html" %} {% block contenido %} {% include "events/event_info.html" %} {% endblock %} {% block lateral %} <h2>Ver más:</h2> <ul> {% for date in date_list %} {% with date|date:"Y"|lower as year %} {% with date|date:"M"|lower as month %} <li><a href="{% url event_byMonth year,month %}" title="Ver por {{ month }}" rel="subsection">{{ month }}</a></li> {% endwith %} {% endwith %} {% endfor %} </ul> {% endblock %} The block barraHerramientas defaults to the content of skin.html and not of the event_base.html. Any way to debug this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---