From 950d697b95e66deb3155896e0b619859693bc8c6 Mon Sep 17 00:00:00 2001 From: David Smith <39445562+smithdc1@users.noreply.github.com> Date: Tue, 28 Dec 2021 12:42:35 +0000 Subject: [PATCH] Refs #31617 -- Removed redundant title text in filter.html. Unnecessary since 269a76714616fd7ad166a14113f3354bab8d9b65. Title text should provide advisory information and should not be the same or very similar to the element text. --- django/contrib/admin/templates/admin/filter.html | 2 +- tests/admin_views/tests.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/admin/templates/admin/filter.html b/django/contrib/admin/templates/admin/filter.html index 35dc553bd8..b5a1bbab0e 100644 --- a/django/contrib/admin/templates/admin/filter.html +++ b/django/contrib/admin/templates/admin/filter.html @@ -3,6 +3,6 @@ diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 2ea27f5312..1533d746da 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -753,11 +753,11 @@ class AdminViewBasicTest(AdminViewBasicTestCase): ) self.assertContains(response, '
') self.assertContains( - response, 'Horizontal', + response, 'Horizontal', msg_prefix=fail_msg, html=True ) self.assertContains( - response, 'Vertical', + response, 'Vertical', msg_prefix=fail_msg, html=True )