Tejas, Can you not use the select_related on the queryset to eager load the relationships?
Michael On 4/15/07, Michael Trier <[EMAIL PROTECTED]> wrote: > On 4/15/07, Tejas Shah <[EMAIL PROTECTED]> wrote: > > Thanks guys > > > > The problem in this case with querying against ItemRatingsByGroup is that > > not all Items are in there. > > > > Only the items that have been rated are in items rated by group > > > > I'm looking to display as following: > > > > The Group > > All the items in the group > > A rating for each item - if a rating exists > > > > So I need to go about it by getting all the items for the group at some > > point > > > > > > > > Ah, I missed that piece of the puzzle. Sorry. I see what you're saying. > > Michael > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---