[google-appengine] Re: Python: db.ReferenceProperty collection_name callable?

2009-05-26 Thread Jeff S (Google)
Hi Oliver, Great suggestion and I want to make sure I understand the proposal. It sounds like you would like the House model to have a parents back reference and also a children back reference? How would the children collection be given a collection name? Here's some sample code to make this eas

[google-appengine] Re: Python: db.ReferenceProperty collection_name callable?

2009-06-01 Thread Oliver Zheng
Hi Jeff, Thanks for the response. It's exactly the requirement (for the DRY principal or whatever) to have houses for both parents and children. It makes sense to select houses for either parents or children. I am not sure how the collection_name back reference is implemented or if it would even