From 79adb5151481dde4ff72464e15afba94e1739223 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 4 Dec 2010 05:35:15 +0000 Subject: [PATCH] Fixed #12694 -- Added template block to make it easier to add new tools to the change_list and change_form templates. Thanks to andybak for the suggestion, and Simon Meers for the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14795 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- .../contrib/admin/templates/admin/change_form.html | 7 +++++-- .../contrib/admin/templates/admin/change_list.html | 12 +++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index 1689c5b48e..8f8dfe6143 100644 --- a/django/contrib/admin/templates/admin/change_form.html +++ b/django/contrib/admin/templates/admin/change_form.html @@ -26,8 +26,11 @@ {% block content %}
{% block object-tools %} {% if change %}{% if not is_popup %} -