@cherrypy.expose
@cherrypy.tools.mako(filename="/list.mako")
- def list(self, username):
+ def list(self):
"""Handler for list requests."""
checkpoint.checkpoint('Getting list dict')
- d = getListDict(username, state)
+ d = getListDict(cherrypy.request.login, cherrypy.request.state)
checkpoint.checkpoint('Got list dict')
- return templates.list(searchList=[d])
+ return d
index=list
@cherrypy.expose