I have a model as follow
class User(db.Model):
name = db.StringProperty(required=True)
class Friendship(db.Model):
user1 = db.ReferenceProperty(required=True,
collection_name="user1_set")
user2 = db.ReferenceProperty(required=True,
collection_name="user2_set")
I can create users and friendship relationship between them.
Now the question is:
How can I find if to people are already friends?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/GzEWTVJAEVEJ.
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.