web/form.py
branchtls-sprint
changeset 758 0c0dfd33a76d
parent 751 ec16f43107d3
child 765 8fda14081686
equal deleted inserted replaced
757:01740274e774 758:0c0dfd33a76d
   237     """base class for forms. Apply by default according to request form
   237     """base class for forms. Apply by default according to request form
   238     parameters specified using the `form_params` class attribute which
   238     parameters specified using the `form_params` class attribute which
   239     should list necessary parameters in the form to be accepted.
   239     should list necessary parameters in the form to be accepted.
   240     """
   240     """
   241     __registerer__ = accepts_registerer
   241     __registerer__ = accepts_registerer
   242     __select__ = classmethod(match_form_params)
   242     __select__ = match_form_params()
   243 
       
   244     form_params = ()
       
   245 
   243 
   246 class EntityForm(FormMixIn, EntityView):
   244 class EntityForm(FormMixIn, EntityView):
   247     """base class for forms applying on an entity (i.e. uniform result set)
   245     """base class for forms applying on an entity (i.e. uniform result set)
   248     """
   246     """
   249 
   247