How can I add user profile support to a google app engine app?

270 Views Asked by At

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?

1

There are 1 best solutions below

2
Jason Hall On

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.