Пример #1
0
 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)
Пример #2
0
 def GET(self):
     user = db_api.user_get(web.ctx.session.id)
     return render.mailbox_add(user=user)
Пример #3
0
 def GET(self):
     user = db_api.user_get(web.ctx.session.id)
     return render.domain_page(user=user)