Hey! Isn't there a more convenient way to do the following?

if article._entity['user'] != user.key():

"article" in the above is an instance of the model Article, which has
the property "user" which is a ReferenceProperty to the model User
(which "user" is an instance of). If I try to do "if article.user !=
user" it tries to fetch the User instance for the article, despite
there being no need to do so.

/Blixt

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to