From 337d102b8612503bb9dc712bfbf07432a9a96302 Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Tue, 22 Feb 2011 03:07:57 +0000 Subject: [PATCH] Fixed #13510 -- Corrected colspan of non-field-specific error messages in admin app tabular inlines so it isn't greater than the actual number of field cells. Thanks KyleMac for the report and Julien Phalip for the patch fixing the issue. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15626 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- .../templates/admin/edit_inline/tabular.html | 4 +-- .../admin/templatetags/admin_modify.py | 18 ++++++++++-- tests/regressiontests/admin_inlines/models.py | 28 +++++++++++++++++++ tests/regressiontests/admin_inlines/tests.py | 17 +++++++++++ 4 files changed, 63 insertions(+), 4 deletions(-) diff --git a/django/contrib/admin/templates/admin/edit_inline/tabular.html b/django/contrib/admin/templates/admin/edit_inline/tabular.html index a5b1a899f5..7f6c34ad36 100644 --- a/django/contrib/admin/templates/admin/edit_inline/tabular.html +++ b/django/contrib/admin/templates/admin/edit_inline/tabular.html @@ -1,4 +1,4 @@ -{% load i18n adminmedia %} +{% load i18n adminmedia admin_modify %}