Fixes bug in follow from user page

This commit is contained in:
Mouse Reeve 2020-02-22 14:27:31 -08:00
parent 76d2e20742
commit d2e51f05e8

View file

@ -26,7 +26,7 @@
<div> <div>
<a href="{{ follower.actor }}">{{ follower.username }}</a> <a href="{{ follower.actor }}">{{ follower.username }}</a>
{% if not request.user in follower.followers.all %} {% if not request.user in follower.followers.all %}
{% include 'snippets/follow_button.html' with user=user %} {% include 'snippets/follow_button.html' with user=follower %}
{% endif %} {% endif %}
</div> </div>
{% endfor %} {% endfor %}