add properties to users google app engine

Posted by juanefren on Stack Overflow See other posts from Stack Overflow or by juanefren
Published on 2010-03-24T01:14:57Z Indexed on 2010/03/24 1:23 UTC
Read the original article Hit count: 270

What is the best way to save a user profile with Google App Engine (Python) ? What I did to solve this problem is create another Model, with a UserProperty, but requesting the profile from the user I have to do something like this:

if user:
    profile = Profile.all().filter('user =', user).fetch(1)
    if profile:
        property = s.get().property

Any ideas?

© Stack Overflow or respective owner

Related posts about google-app-engine

Related posts about python