@register.filter
def friends(user):
    """Returns people user is following sans people blocking user."""
    try:
        return Relationship.objects.get_friends_for_user(user)
    except __HOLE__:
        return []
dataset/ETHPy150Open nathanborror/django-basic-apps/basic/relationships/templatetags/relationships.py/friends