Skip to content

Commit

Permalink
v2
Browse files Browse the repository at this point in the history
  • Loading branch information
4uku committed Aug 2, 2021
1 parent 92f6964 commit 6a273b4
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion yatube/posts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def follow_index(request):
@login_required
def profile_follow(request, username):
author = get_object_or_404(User, username=username)
# author_following = author.following.all().filter(user=request.user)
if ((request.user != author)
and not Follow.objects.filter(author=author,
user=request.user).exists()):
Expand Down

0 comments on commit 6a273b4

Please sign in to comment.