diff options
Diffstat (limited to 'django/forms/widgets.py')
| -rw-r--r-- | django/forms/widgets.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py index a53569c5a3..842b73e95c 100644 --- a/django/forms/widgets.py +++ b/django/forms/widgets.py @@ -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 |
