neobappy / django-voting

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

Extra options for get_top #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Right now, there is no simple way of passing extra options to get_top, in
order to get the top voted items from a selection.

Example case:
I have an Article model, which has a featured boolean field, and it's
manager has get_featured() and get_not_featured() methods.
I want to be able to show the top voted items for both the featured and not
featured items, separately.

Original issue reported on code.google.com by bogdan.a...@gmail.com on 1 Feb 2008 at 9:57