It would be much easier if you post all the models involved Hector Garcia - Web developer, musician http://nomadblue.com/
On Fri, Nov 13, 2009 at 12:54 AM, [email protected] <[email protected]> wrote: > I'm trying to find the most efficient way to accomplish the below: > > I have a list of users (facebook friends) for a user - these users are > objects of the Django User model: > [friend1,friend2, friend3..] > > I use the django voting app where users can vote on an item. > > the resulting page has 10 items and for each item, it will list all > the friends who have voted on that item: > > item1: > friend1, friend3 also voted on item1 > > item2: > friend2 voted on item2 > > ..... > > item10: > friend1 voted on item10 > > What is the best (or rather most efficient) way to get the list of > friends who voted on each item ? > > -- > > You received this message because you are subscribed to the Google Groups > "Django users" 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/django-users?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=.

