Beispiel #1
0
 def __init__(self, *args, ** kwargs):
     Form.__init__(self, *args, ** kwargs)
     self.user = None
Beispiel #2
0
 def __init__(self, *args, **kwargs):
     Form.__init__(self, *args, **kwargs)
     if not self.next.data:
         self.next.data = get_redirect_target() or ''
Beispiel #3
0
 def __init__(self, *a, **k):
     Form.__init__(self, *a, **k)
     self.sgf = None
Beispiel #4
0
 def __init__(self, *a, **k):
     Form.__init__(self, *a, **k)
     self.short_path = None
Beispiel #5
0
 def __init__(self, *a, **k):
     Form.__init__(self, *a, **k)
     self.user = None
 def __init__(self, *args, **kwargs):
     Form.__init__(self, *args, **kwargs)
     if not self.next.data:
         self.next.data = get_redirect_target() or ''
Beispiel #7
0
 def __init__(self, *args, **kwargs):
     kwargs['csrf_enabled'] = False
     Form.__init__(self, *args, **kwargs)
Beispiel #8
0
 def __init__(self):
     Form.__init__(self, id="frmUpdate")
Beispiel #9
0
    def __init__(self, formdata=None, obj=None, prefix='', **kwargs):
        agent_type_id = AgentType.query.filter_by(name=obj['agent_type']).one().agent_type_id
        kwargs.setdefault('agent_type', agent_type_id)

        Form.__init__(self, formdata, obj, prefix, **kwargs)