Пример #1
0
 def __init__(self,format='HTML'):
     t = Template(self.form)
     WebService.__init__(self,format,t,auth_required=True)
Пример #2
0
 def call(self,*args,**kwargs):
     self.reset()
     return WebService.call(self,*args,**kwargs)
Пример #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)
Пример #4
0
 def __init__(self,format='html'):
     t = Template(TEMPLATE)
     WebService.__init__(self,format,t)
Пример #5
0
 def __init__(self,format='HTML'):
     t = Template("{{left}} {{operation}} {{right}} = {{result}}")
     WebService.__init__(self,format,t)
Пример #6
0
 def __init__(self,format='HTML',auth=False):
     WebService.__init__(self,format,auth_required=auth)