def GET(self): try: user = db_api.user_get(web.ctx.session.id) except orm_exc.NoResultFound: user = None print 'Warn: user is noe' return render.account(user=user)
def GET(self): user = db_api.user_get(web.ctx.session.id) return render.mailbox_add(user=user)
def GET(self): user = db_api.user_get(web.ctx.session.id) return render.domain_page(user=user)