开发者

Match UserProperty() with StringProperty()

开发者 https://www.devze.com 2022-12-12 08:41 出处:网络
I want to match StringProperty() with UserProperty and I can\'t change property so how can I achieve it? Plea开发者_如何学Pythonse help me out.You seem to be talking about Google App Engine\'s model p

I want to match StringProperty() with UserProperty and I can't change property so how can I achieve it? Plea开发者_如何学Pythonse help me out.


You seem to be talking about Google App Engine's model properties. To the best of my knowledge, you can't query a UserProperty with a string, because a User is not a string. Instead, try creating a brand new User object; you just need the email address of the user. Then you can query for users matching that user.

0

精彩评论

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