예제 #1
0
 def __init__(self, url, **kw):
     Widget.__init__(self, **kw)
     self.get_url = url if callable(url) else lambda request: url
     self.url = None
     self.session = None
예제 #2
0
 def __init__(self, url, label_field='label', **kw):
     Widget.__init__(self, **kw)
     self.label_field = label_field
     self.get_url = url if callable(url) else lambda request: url
     self.url = None
예제 #3
0
 def __init__(self, url, label_field='label', **kw):
     Widget.__init__(self, **kw)
     self.label_field = label_field
     self.get_url = url if callable(url) else lambda request: url
     self.url = None
예제 #4
0
 def __init__(self, url, **kw):
     Widget.__init__(self, **kw)
     self.get_url = url if callable(url) else lambda request: url
     self.url = None
     self.session = None
예제 #5
0
 def __init__(self, *args, **kwargs):
     self.options = dict(self.default_options)
     Widget.__init__(self, *args, **kwargs)