Don't display follow button for yourself.

This commit is contained in:
Adam Kelly 2020-03-13 17:21:00 +00:00
parent ffe81291ad
commit 7b2063a0c5

View file

@ -1,4 +1,5 @@
{% if request.user in user.follower_requests.all %}
{% if request.user == user %}
{% elif request.user in user.follower_requests.all %}
<div>
Follow request already sent.
</div>