def extractData(self): steps = self.before_steps + [self.current_step] return utils.extract_data_prefixed(steps)
def extractData(self): sub_data, sub_errors = utils.extract_data_prefixed(self.subforms) data, errors = self.widgets.extract() data.update(sub_data) errors = errors + sub_errors return data, errors