From 79ab0993d0f2253e10ea638bcefc98ec2d890a47 Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Sat, 27 Dec 2025 12:28:26 +0100 Subject: Fixed #36829 -- Reverted value of ClearableFileInput.use_fieldset to True. There was unresolved discussion regarding whether to set ClearableFileInput.use_fieldset to True or False when use_fieldset was introduced in Django 4.1, since the clear checkbox appears only sometimes. Although using
is likely desirable, since the primary motivation in #35892 was just to improve markup in the admin, and a deprecation path was not provided for general form usage, future work is deferred to #36828. Regression in 4187da258fe212d494cb578a0bc2b52c4979ab95. Thanks Tim Graham, Antoliny, and David Smith for triage. --- docs/releases/6.0.1.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/6.0.1.txt b/docs/releases/6.0.1.txt index 753d2c87ad..bb1dfab2c9 100644 --- a/docs/releases/6.0.1.txt +++ b/docs/releases/6.0.1.txt @@ -35,3 +35,7 @@ Bugfixes * Fixed a regression in Django 6.0 where :func:`~django.urls.path` routes defined using :func:`~django.utils.translation.gettext_lazy` failed to resolve correctly (:ticket:`36796`). + +* Fixed a regression in Django 6.0 where the :attr:`.Widget.use_fieldset` + attribute of :class:`~django.forms.ClearableFileInput` was flipped + from ``False`` to ``True`` (:ticket:`36829`). -- cgit v1.3