From 617e23fb9f98c0d203ce959729b03ed7715bf87c Mon Sep 17 00:00:00 2001 From: Nikhil-Penn Date: Fri, 25 Oct 2024 21:46:56 +0000 Subject: [PATCH] Fixed more whitespace. All stylizing --- backend/courses/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/courses/views.py b/backend/courses/views.py index 3b2aeefb..b67101ae 100644 --- a/backend/courses/views.py +++ b/backend/courses/views.py @@ -527,7 +527,7 @@ def post(self, request): res["message"] = "User not found" return Response(res, status=status.HTTP_404_NOT_FOUND) - recipient = get_object_or_404(User, username = username.lower()) + recipient = get_object_or_404(User, username=username.lower()) existing_friendship = ( self.get_all_friendships().filter(Q(recipient=recipient) | Q(sender=recipient)).first()