예제 #1
0
파일: views.py 프로젝트: GeoDaSandbox/DynTM
 def __init__(self,format='HTML'):
     t = Template(self.form)
     WebService.__init__(self,format,t,auth_required=True)
예제 #2
0
파일: views.py 프로젝트: GeoDaSandbox/DynTM
 def call(self,*args,**kwargs):
     self.reset()
     return WebService.call(self,*args,**kwargs)
예제 #3
0
파일: views.py 프로젝트: GeoDaSandbox/DynTM
 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
파일: views.py 프로젝트: GeoDaSandbox/DynTM
 def __init__(self,format='html'):
     t = Template(TEMPLATE)
     WebService.__init__(self,format,t)
예제 #5
0
파일: views.py 프로젝트: GeoDaSandbox/DynTM
 def __init__(self,format='HTML'):
     t = Template("{{left}} {{operation}} {{right}} = {{result}}")
     WebService.__init__(self,format,t)
예제 #6
0
파일: views.py 프로젝트: GeoDaSandbox/DynTM
 def __init__(self,format='HTML',auth=False):
     WebService.__init__(self,format,auth_required=auth)