Description

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).