def GET(self): input = web.input() id = int(input.order) model.order_drink(id)
def POST(self, id): id = int(id) model.order_drink(id) raise web.seeother('/drinks')