From 4187da258fe212d494cb578a0bc2b52c4979ab95 Mon Sep 17 00:00:00 2001 From: antoliny0919 Date: Mon, 28 Jul 2025 07:59:26 +0900 Subject: Fixed #35892 -- Supported Widget.use_fieldset in admin forms. --- django/forms/widgets.py | 1 + 1 file changed, 1 insertion(+) (limited to 'django/forms') diff --git a/django/forms/widgets.py b/django/forms/widgets.py index 5a25b66e9a..b77e57abce 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -530,6 +530,7 @@ class ClearableFileInput(FileInput): input_text = _("Change") template_name = "django/forms/widgets/clearable_file_input.html" checked = False + use_fieldset = True def clear_checkbox_name(self, name): """ -- cgit v1.3