def get(self, user_name):
     user_other = User.by_name(user_name)
     if user_other:
         other_education = Education.query(
             Education.user.name == user_name).fetch()
         self.render('aboutme.html',
                     education=other_education,
                     user_other=user_other)
     else:
         self.render('errorpage.html',
                     error="Sorry, that user could not be found.")
Exemplo n.º 2
0
 def get(self):
     education = Education.query(Education.user == self.user).fetch()
     self.render('aboutme.html', education=education)