question about facebook connect and django voting

1 view
Skip to first unread message

uno...@gmail.com

unread,
Nov 12, 2009, 6:54:28 PM11/12/09
to Django users
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 ?

Hector Garcia

unread,
Nov 13, 2009, 5:54:08 AM11/13/09
to django...@googlegroups.com
It would be much easier if you post all the models involved

Hector Garcia - Web developer, musician
http://nomadblue.com/
> --
>
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=.
>
>
>
Reply all
Reply to author
Forward
0 new messages