def value_from_datadict(self, data, files, name):
    if isinstance(data, MultiValueDict):
        return data.getlist(name)
    return data.get(name)
def value_from_datadict(self, data, files, name):
    if isinstance(data, MultiValueDict):
        return data.getlist(name)
    return data.get(name)