django-vote
django-vote copied to clipboard
How to use django-vote in templates ?
The doc doesn't have explanation of how to use this package in templates! I will be very grateful if you give me example.... Thanks
im wondering about this question as-well.....
Any updates on this? I'm also having hard time figuring out how to use it in templates. Some description with examples might be super helpful. If I can't figure this out, then unfortunately it'll prevent me from using this solution and switch to something else.
@apetryla you can use vote_count
and vote_exists
in template now, the README is also updated to add example code.
@shellfly Thank You for the fast and clear update. Also looking at the tests helped.
Edit note: I've removed the old text, since I managed to solve the problem (it was on my side). Now it works like magic. ^^