﻿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
9637	extrastyle block in customized admin/base_site.html overridden by extending templates	rvdrijst	nobody	"In changeset:9463 the following default admin templates were changed to use the {% block extrastyle %} declared in admin/base.html:
 * django/contrib/admin/templates/admin/change_form.html
 * django/contrib/admin/templates/admin/change_list.html
 * django/contrib/admin/templates/admin/index.html
 * django/contrib/admin/templates/admin/login.html

These four templates extend admin/base_site.html, not admin/base.html and although the default admin/base_site.html doesn't override the {% block extrastyle %}, a customized version of this template might. In that case, the contents of this {% block extrastyle %} are overridden by the four mentioned templates, which is a bug.

The solution is simple enough: prefix the content of the {% block extrastyle %} in these four templates with {{ block.super }} to render the possible content of the {% block extrastyle %} in a customized base_site.html (see patch).
"		closed	contrib.admin	dev		fixed	admin template extrastyle base_site.html	rvdrijst@…	Unreviewed	1	0	0	0	0	0
