@register.filter
def fans(user):
    try:
        return Relationship.objects.get_fans_for_user(user)
    except AttributeError:
        pass

# Comparing two users.
Returns people following user but user isn't following.
dataset/ETHPy150Open nathanborror/django-basic-apps/basic/relationships/templatetags/relationships.py/fans