I have开发者_如何学运维 a Google App Engine app based on django / django_appengine that I wish to modify by adding user profile support to it, because the basic user model is a bit simplistic for my situation.
What's the best way to do this?
You can create a Model called for example UserProfile
which has as its key a user's email address or user ID.
UserProfile profile = UserProfile.get_or_create(user.user_id)
will make sure that no user profiles are created for existing user IDs.
精彩评论