My datastore contains one-to-one relationship - AppUser has an UserSettings instance. I'm not sure which class should have the reference to whom:
class AppUser(db.Model): name = db.StringProperty() ... class UserSettings(db.Model): user= db.ReferenceProperty(AppUser) p1 = db.StringProperty() ... or class AppUser(db.Model): name = db.StringProperty() settings = db.ReferenceProperty(UserSettings) ... class UserSettings(db.Model): p1 = db.StringProperty() ... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
