def _contact_override_sets(self): return [ resp for recv, resp in contact_form_fields_overrides.send( self.request.event, request=self.request, order=None, ) ]
def _contact_override_sets(self): override_sets = [ resp for recv, resp in contact_form_fields_overrides.send( self.request.event, request=self.request, order=self.order, ) ] for override in override_sets: for k in override: # We don't want initial values to be modified, they should come from the order directly override[k].pop('initial', None) return override_sets