﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
501	{{ block.super }} returns value of the most remote ancestor	eugene@…	Adrian Holovaty	"{{ block.super }} always returns value of the most remote ancestor. Example:

Template A:
{{{
{% block abc %}A{% endblock %}
}}}

Template B:
{{{
{% extends ""A"" %}
{% block abc %}{{ block.super }}B{% endblock %}
}}}

Template C:
{{{
{% extends ""B"" %}
{% block abc %}{{ block.super }}C{% endblock %}
}}}

Template A will be rendered as ""A"", B as ""AB"", C as '''""AC""'''. I assume the original intention was to implement a stack of parents, so C would be rendered as ""ABC"". At least it is documented that way.

template_loader.py doesn't implement stacking order for blocks. Instead it defines two member variables in BlockNode: nodelist, which holds current nodes, and original_node_list, which holds nodes of the farthest ancestor."	enhancement	closed	contrib.syndication	0.90	minor	fixed			Unreviewed	0	0	0	0	0	0
