Пример #1
0
 def plugin_forms(self):
     forms = []
     for rec, resp in item_forms.send(sender=self.request.event, item=self.item, request=self.request):
         if isinstance(resp, (list, tuple)):
             forms.extend(resp)
         else:
             forms.append(resp)
     return forms
Пример #2
0
 def plugin_forms(self):
     forms = []
     for rec, resp in item_forms.send(sender=self.request.event, item=self.item, request=self.request):
         if isinstance(resp, (list, tuple)):
             forms.extend(resp)
         else:
             forms.append(resp)
     return forms
Пример #3
0
 def plugin_forms(self):
     forms = []
     for rec, resp in item_forms.send(sender=self.request.event, item=self.item, request=self.request):
         forms.append(resp)
     return forms