From a754165a919ad12cc62723d81f4df6e046ad18cb Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Sat, 27 Dec 2008 00:01:11 +0000 Subject: [PATCH] Fixed #9637: Use 'block.super' in admin 'extrastyle' blocks to preserve changes in base_site.html The current admin templates do not need this. However, a common way to customize admin appearance is to provide your own 'base_site.html' template, and add stylesheets using the extrastyle block. Without this patch, these customizations are lost. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9690 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- .../admin/templates/admin/auth/user/change_password.html | 2 +- django/contrib/admin/templates/admin/change_form.html | 2 +- django/contrib/admin/templates/admin/change_list.html | 2 +- django/contrib/admin/templates/admin/index.html | 2 +- django/contrib/admin/templates/admin/login.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/django/contrib/admin/templates/admin/auth/user/change_password.html b/django/contrib/admin/templates/admin/auth/user/change_password.html index b38c7e9305..b59ee0f164 100644 --- a/django/contrib/admin/templates/admin/auth/user/change_password.html +++ b/django/contrib/admin/templates/admin/auth/user/change_password.html @@ -3,7 +3,7 @@ {% block extrahead %}{{ block.super }} {% endblock %} -{% block extrastyle %}{% endblock %} +{% block extrastyle %}{{ block.super }}{% endblock %} {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} {% block breadcrumbs %}{% if not is_popup %}