Beispiel #1
0
 def get(self):
     
     user_key = self.get_secure_cookie("user_key")
     user = User()
     user_data = user.getDetails(user_key)
     #print user_data        
     user_data['user_key'] = user_key
     self.render('settings.html',user = user_data)
Beispiel #2
0
 def get(self):
     user      = User()
     userInfo = UserInfo()
     
     keys = user.allKey()   
     _data = []
     for row in user.all(keys):
         _data.append(user.getDetails(row['key']))
     #self.dumpJson(_data)
     self.render('manager/user.html',data=_data)