```
class Relationship(models.Model):
    from_user = models.ForeignKey(User, related_name='from_user')
    to_user = models.ForeignKey(User, related_name='to_user')
    status = models.CharField(max_length=255, choices=RELATIONSHIP_STATUSES)

field = models.ManyToManyField('User', through=Relationship, symmetrical=False, related_name='related_to')
field.contribute_to_class(User, 'relationships')

```

This is working fine follow and unfollow

```
users = User.objects.all()
{%for u in users %}
    {% if not request.user in u.related_to.all %}
          <input type="submit" value="Follow"/>
    {% else %}
          <input type="submit" value="UnFollow"/>
    {% endif %}
{%endfor%}

```

But I want to get the Relationship status field using the User object to find out the status of all user is Following or mutual with authenticated user.
I do not want to create loop. Like above in follow and unfollow I have check request.user inside or not, like that I want to check whether status is mutual or following 

```
users = User.objects.all()

{% for u in users %}
   // here I want to get the Relationship status field using the User object to find out the status of all user is Following or mutual with authenticated user
{% endfor %}

```