def post(self):
    user = users.get_current_user()
    if user:
      profile = Profile.for_user(user)
      if not profile:
        profile = Profile()
      profile.display_name = self.request.get('display_name')
      profile.account = user
      profile.put()
      return self.redirect(self.uri_for('profile.me'))
    else:
      return self.redirect(users.create_login_url(self.request.uri))
HTML POST handler.
dataset/ETHPy150Open Sagelt/dungeon-world-codex/handlers/profile.py/EditHandler.post