#14690: {% block %} defined in {% included %} page isn't 'repleacable' -----------------------------+---------------------------------------------- Reporter: pma_ | Owner: nobody Status: new | Milestone: Component: Template system | Version: 1.2 Keywords: block include | Stage: Unreviewed Has_patch: 0 | -----------------------------+---------------------------------------------- I moved part of template to external file that is included in base template. My block definition in derived template doesn't replace content in include. There are no restriction in docs so I believe it's a bug.
a.html {% include b.html %} b.html {% block x}replaced?{% endblock %} c.html {% extends a.html %} {% block x}new value{% endblock %} -- Ticket URL: <http://code.djangoproject.com/ticket/14690> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.