

def value_from_datadict(self, data, files, name):
    upload = super(CustomClearableFileInput, self).value_from_datadict(data, files, name)
    if ((not self.is_required) and CheckboxInput().value_from_datadict(data, files, self.clear_checkbox_name(name))):
        return (FILE_INPUT_CONTRADICTION if upload else False)
    return (upload or data.get(self.initial_filename_name(name), None))

dataset/ETHPy150Open WGBH/django-multilingualfield/multilingualfield/widgets.py CustomClearableFileInput.value_from_datadict/original