Open GoogleCodeExporter opened 9 years ago
suppose you want to vote for different types of content such as photos, blog
posts, etc. when you have to
provide the model as an input for the vote_on_object() view function, you have
to repeat some code within
urls, templates and views, which doesn't feel DRY.
i would like to be able to either give the model name or the queryset as you
have suggested to the
vote_on_object(). this would allow generalizing voting logic even when the
models in question are different.
--
omat
Original comment by omat%gez...@gtempaccount.com
on 12 May 2010 at 11:45
Original issue reported on code.google.com by
rico.bl
on 27 Aug 2009 at 8:50Attachments: