No The collection name specifies the name in the target (of the reference) that can be used to get back references. So instead of contact.companies_set you can access it via contact.companies
T On May 11, 12:57 pm, Jawaad Mahmood <jawaad.mahm...@gmail.com> wrote: > Hi Guys, > > I think I found a small mixup in the Entity Modelling Documentation > for Appengine. > > http://code.google.com/appengine/articles/modeling.html > > contact = db.ReferenceProperty(Contact, > required=True, > collection_name='companies') > company = db.ReferenceProperty(Company, > required=True, > collection_name='contacts') > > Maybe I'm confused but shouldn't this be; > > contact = db.ReferenceProperty(Contact, > required=True, > collection_name='contacts') > company = db.ReferenceProperty(Company, > required=True, > collection_name='companies') > > (The change is in the "collection name") > > -- > Sincerely yours, > > Jawaad Mahmoodhttp://www.jawaadmahmood.com > 080-4204-7198 > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.