@register.filter
def unrate_url(obj):
    return reverse('ratings_unrate_object', args=(
        ContentType.objects.get_for_model(obj).pk,
        obj.pk,
    ))
Generates a link to "un-rate" the given object - this
dataset/ETHPy150Open django-de/django-simple-ratings/ratings/templatetags/ratings_tags.py/unrate_url