Is perhaps {% inherit ... %} *not* the first line in all the files within your inheritance-hierarchy? :-)
- Horst On Dec 2, 2007 8:50 PM, mamcxyz <[EMAIL PROTECTED]> wrote: > > I have a base template that do a include: > > {% if user and not user.is_anonymous > %} > {% include "core/panel_usr.html" %} > {% else %} > {% include > "core/panel_usr_anonimo.html" %} > {% endif %} > > then in the include file get a block: > > {% block lateral %} > {% endblock %} > > then in a template, extending the base: > > {% block lateral %} > HELLO > {% endblock %} > > This is not displayed. However if a put the block directly in the base > template get displayed. I suspect is because the include not let see > the block... is this rigth? How workaround this behaviour? > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---