def value_from_datadict(self, data, files, name): value = data[name] value = from_csv(value, DB_NA_POS_NUM, lambda value: value) return value
def get(values, key, val_na, val_eval): value = values[key] return from_csv(value, val_na, val_eval)
def value_from_datadict(self, data, files, name): value = data[name] value = from_csv(value, DB_NA_LIST, lambda value: [x.strip() for x in value.split(',')]) return value