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 Mahmood
http://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 [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.

Reply via email to