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