示例#1
0
文件: project.py 项目: Big-Data/pypes
 def create(self):
     """POST /project: Create a new item"""
     # url('project')
     try:
         config = request.params.getall('config')[0]
     except:
         traceback.print_exc()
         # added because authkit seems to try posting after login
         # need toinvestigate further...
         return render('/pypesvds.mako')
     else:
         return app_globals.dfg.update(config)
示例#2
0
文件: project.py 项目: solntsev/pypes
 def create(self):
     """POST /project: Create a new item"""
     # url('project')
     try:
         config = request.params.getall('config')[0]
     except:
         traceback.print_exc()
         # added because authkit seems to try posting after login
         # need toinvestigate further...
         return render('/pypesvds.mako')
     else:
         return app_globals.dfg.update(config)
示例#3
0
 def signout(self):
     return render('/signin.html')
示例#4
0
 def index(self):
     # Return a rendered template
     #return render('/index.mako')
     # or, return a response
     return render('/pypesvds.mako')
示例#5
0
文件: project.py 项目: Big-Data/pypes
 def index(self, format='html'):
     """GET /project: All items in the collection"""
     # url('project')
     return render('/pypesvds.mako')
示例#6
0
文件: index.py 项目: Big-Data/pypes
 def signout(self):
     return render('/signin.html')
示例#7
0
文件: index.py 项目: Big-Data/pypes
 def index(self):
     # Return a rendered template
     #return render('/index.mako')
     # or, return a response
     return render('/pypesvds.mako')
示例#8
0
文件: project.py 项目: solntsev/pypes
 def index(self, format='html'):
     """GET /project: All items in the collection"""
     # url('project')
     return render('/pypesvds.mako')