开发者

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

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜