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)
def signout(self): return render('/signin.html')
def index(self): # Return a rendered template #return render('/index.mako') # or, return a response return render('/pypesvds.mako')
def index(self, format='html'): """GET /project: All items in the collection""" # url('project') return render('/pypesvds.mako')