Need help in writing ORM query for this type of result On Tuesday, June 18, 2019 at 10:54:30 AM UTC+5:30, Devender Kumar wrote: > > Hi, > I have 3 models which are related like this. > Accounts can have multiple contact > and one contact can have multiple comments > one contact can be assigned to at most one account. > > [image: CRM Relation.png] > > > > > > > > > > > > > > > > > > > > > > > > > Result should look like as described in above photo > Thank you > Devender > >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0460c9d1-92d3-4f6e-9d95-a9c03b8a049b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

