

def compress(self, data_list):
    '\n        Takes the values from the MultiWidget and passes them as a\n        list to this function. This function needs to compress the\n        list into a single object to save.\n        '
    if data_list:
        if (not (data_list[0] and self[1])):
            raise forms.ValidationError('Field is missing data.')
        return datetime.datetime.combine(*data_list)
    return None

dataset/ETHPy150Open benadida/helios-server/helios/fields.py SplitDateTimeField.compress/VarMisuse@28/103 `data_list`->`self`