One-to-many relationships in datastore
问题 There is a nice explanation of 1-to-many relationships in datastore here by Rafe Kaplan. I tried to adapt that to a simpler case of User and Venue . So user can go to many restaurants; and I want to print the user email and the restaurants the user went to: class User(db.Model): userEmail = db.StringProperty() class Venue(db.Model): user = db.ReferenceProperty(User, collection_name="venues") venue = db.StringProperty() class OneToMany(webapp.RequestHandler): def get(self): scott = User