python - Adding extra properties to the User class in App Engine datastore? -
i working on app using flask , app engine, requires information stored in user object apart nickname, email , user_id. possible extend user class in datastore?
if not, there workaround? planning have own user model. so, once user logs app(using google authentication), collect user info using users.get_current_user() function , add other fields require. these information stored in own user model. right way handle situation?
as explained in other question, need separate class. user
not model, , not stored in datastore. it's combination of user_id , email obtained google's accounts system when log in. if want store user, need create own model class, , use store user_id and/or email fields compare against logged-in user.