Exemplo n.º 1
0
 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)
Exemplo n.º 2
0
 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)
Exemplo n.º 3
0
 def signout(self):
     return render('/signin.html')
Exemplo n.º 4
0
 def index(self):
     # Return a rendered template
     #return render('/index.mako')
     # or, return a response
     return render('/pypesvds.mako')
Exemplo n.º 5
0
 def index(self, format='html'):
     """GET /project: All items in the collection"""
     # url('project')
     return render('/pypesvds.mako')
Exemplo n.º 6
0
 def signout(self):
     return render('/signin.html')
Exemplo n.º 7
0
 def index(self):
     # Return a rendered template
     #return render('/index.mako')
     # or, return a response
     return render('/pypesvds.mako')
Exemplo n.º 8
0
 def index(self, format='html'):
     """GET /project: All items in the collection"""
     # url('project')
     return render('/pypesvds.mako')