@register.filter
def blockers(user):
    try:
        return Relationship.objects.get_blockers_for_user(user)
    except AttributeError:
        return []
Returns list of people blocking user.
dataset/ETHPy150Open nathanborror/django-basic-apps/basic/relationships/templatetags/relationships.py/blockers