Yes, I can do that, thanks -- but I still think this behavior is a
problem.
Let's say I create a datastore model:
class UserInfo(db.Model):
owner = db.UserProperty()
Info = db.StringProperty()
Now let's say I create a UserInfo entity with owner set as user1 and
save it to the datastore.
I can't look up this saved entity unless I match the case of the
original email address (user2 will not match it). That's the problem.
I discovered this problem because when I assign owners in parts of my
application, sometimes Google capitalizes the email addresses, and
other times, it does not.
I can resort to using strings, but that defeats the purpose of having
a special 'userProperty' that abstracts away this stuff.
Thanks for your help, everyone.
- s
On Aug 28, 4:30 pm, Davide Rognoni <
davide.rogn...@gmail.com> wrote:
> str(user1).lower() == str(user2).lower()