Exemplo n.º 1
0
 def __init__(self,format='HTML'):
     t = Template(self.form)
     WebService.__init__(self,format,t,auth_required=True)
Exemplo n.º 2
0
 def call(self,*args,**kwargs):
     self.reset()
     return WebService.call(self,*args,**kwargs)
Exemplo n.º 3
0
 def __init__(self,format='HTML',auth=True):
     t = Template("<html><head><title>DynTM</title></head><body>{{body}}</body></html>")
     WebService.__init__(self,format,t,auth_required=auth)
Exemplo n.º 4
0
 def __init__(self,format='html'):
     t = Template(TEMPLATE)
     WebService.__init__(self,format,t)
Exemplo n.º 5
0
 def __init__(self,format='HTML'):
     t = Template("{{left}} {{operation}} {{right}} = {{result}}")
     WebService.__init__(self,format,t)
Exemplo n.º 6
0
 def __init__(self,format='HTML',auth=False):
     WebService.__init__(self,format,auth_required=auth)