Can set a property like this
class Group(db.Model):
name = db.StringProperty()
description = db.TextProperty()
@property
def members(self):
return Contact.gql("WHERE groups = :1", self.key())
What is that ampersand notation?
Monday, March 2, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment