I\'m trying to add the django-voting app to my project. I don\'t know how to use it in my templates, so I\'m adding a new template tags for voting up or down when an user click
The problem is that obj here is not actually an object, but a queryset with one element. You should use get instead of filter, as get actually returns a model instance.