cleverking / django-voting

Automatically exported from code.google.com/p/django-voting
Other
0 stars 0 forks source link

get_top's return cannot be used with generic views #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Since get_top returns a list of object, score tuples, it cannot be used
with generic views as generic views require querysets.  Is there a way that
there can be a get_top_qs method created which returns the top objects as a
queryset?  The other benefit is that then ObjectPaginator would work on
these, as well as all of the other things that one gets by having a queryset.

Original issue reported on code.google.com by flo...@gmail.com on 29 May 2007 at 4:23

GoogleCodeExporter commented 9 years ago
I would love to hear what the answer for this is too!

Original comment by maggon on 8 Nov 2009 at 8:55

GoogleCodeExporter commented 9 years ago
I would also love to know whether there is a solution for this

Original comment by ben...@rawjam.co.uk on 9 Dec 2009 at 4:59

GoogleCodeExporter commented 9 years ago
I would love to have this.

Original comment by amanjsi...@gmail.com on 6 May 2011 at 3:21