예제 #1
0
 def _contact_override_sets(self):
     return [
         resp for recv, resp in contact_form_fields_overrides.send(
             self.request.event,
             request=self.request,
             order=None,
         )
     ]
예제 #2
0
 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