From 63c56cda133a85a158502891c40465bc0331d3d9 Mon Sep 17 00:00:00 2001 From: Annabelle Wiegart Date: Sun, 18 Jan 2026 20:03:28 +0100 Subject: Fixed #35870 -- Made blank choice label in forms more accessible. Added new constant django.db.models.fields.BLANK_CHOICE_LABEL for an accessible and translatable blank choice label in forms. Deprecated django.db.models.fields.BLANK_CHOICE_DASH constant. Added the immediately deprecated transitional setting USE_BLANK_CHOICE_DASH. Co-Authored-By: Marijke Luttekes --- tests/admin_views/test_actions.py | 2 +- tests/admin_views/test_related_object_lookups.py | 4 ++-- tests/admin_views/tests.py | 15 ++++++++------- 3 files changed, 11 insertions(+), 10 deletions(-) (limited to 'tests/admin_views') diff --git a/tests/admin_views/test_actions.py b/tests/admin_views/test_actions.py index 467fe046ef..c2c18e0b74 100644 --- a/tests/admin_views/test_actions.py +++ b/tests/admin_views/test_actions.py @@ -294,7 +294,7 @@ class AdminActionsTest(TestCase): self.assertContains( response, """