{% load friendly_loader %} {% friendly_load relationship_tags %} {% if_relationship request.user profile.user "following" %} {# they are following them, so show a "remove" url #} Unfollow {% else %} {# they are not following them, so show a link to start following #} Follow {% endif_relationship %}