1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #33476 -- Applied Black's 2023 stable style.

Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.

https://github.com/psf/black/releases/tag/23.1.0
This commit is contained in:
David Smith
2023-02-01 07:13:39 +00:00
committed by Mariusz Felisiak
parent 8c660fb592
commit 097e3a70c1
238 changed files with 36 additions and 280 deletions

View File

@@ -482,7 +482,6 @@ class ClearableFileInput(FileInput):
if not self.is_required and CheckboxInput().value_from_datadict(
data, files, self.clear_checkbox_name(name)
):
if upload:
# If the user contradicts themselves (uploads a new file AND
# checks the "clear" checkbox), we return a unique marker