class UserHandler(tornado.web.RequestHandler):
def get(self, user):
entries = db.execute("select entry.id,text,ts from user,entry where user.id=entry.userid and user.name=?",(user,))
class UserHandler(tornado.web.RequestHandler):
def get(self, user):
entries = db.execute("select entry.id,text,ts from user,entry where user.id=entry.userid and user.name=?",(user,))