Re: Embedded documents doubts

2013-07-03 Thread Amirouche Boubekki
This is a mongodb database design issue, please forward your question to mongodb user mailling list. AFAIK, it only makes sens if the contact is used nowhere else. 2013/7/2 Hélio Miranda > Hi > I have an application in Django-Tastypie and MongoDB, where I have to > enter a club, that club can

Embedded documents doubts

2013-07-02 Thread Hélio Miranda
Hi I have an application in Django-Tastypie and MongoDB, where I have to enter a club, that club can have multiple contacts. So I was thinking for the document within the document contact club is the best option? I was trying something like this: *class ClubContact (mongoengine.EmbeddedDocument