﻿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
24555	Wrong content in inclusion templatetags with variable parent template	Benjamin Rigaud	Tim Graham <timograham@…>	"If two custom inclusion tags specify their parent template through their context and use the same block name, the rendered content of the second tag is replaced by the content of the first one

Sandbox project: https://github.com/benjaminrigaud/extends-templatetags-bug
Gist: https://gist.github.com/benjaminrigaud/e646f51e1a6dfe232c68

It works fine if we replace the custom tags with standard include tags.

It is a regression from 1.7 (tested with 1.7.7).

It may be related to the cache mechanism of the BlockContext: https://github.com/django/django/blob/master/django/template/loader_tags.py#L115
"	Bug	closed	Template system	1.8rc1	Release blocker	fixed	templatetags extends block cache	Preston Timmons	Ready for checkin	1	0	0	0	0	0
