overview.txt says:
<blockquote>
Votes are recorded using the ``record_vote`` helper function::
>>> from django.contrib.auth.models import User
>>> from shop.apps.products.models import Widget
>>> from voting.models import Vote
>>> user = User.objects.get(pk=1)
>>> widget = Widget.objects.get(pk=1)
>>> Vote.objects.record_vote(user, widget, +1)
</blockquote>
last line should be:
>>> Vote.objects.record_vote(widget, user, +1)
Original issue reported on code.google.com by flavio.c...@gmail.com on 27 Aug 2007 at 1:25
Original issue reported on code.google.com by
flavio.c...@gmail.com
on 27 Aug 2007 at 1:25