Match UserProperty() with StringProperty()
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.
精彩评论