diff --git a/server/o2m/basic_client/views.py b/server/o2m/basic_client/views.py index 2076db2..b4704a6 100644 --- a/server/o2m/basic_client/views.py +++ b/server/o2m/basic_client/views.py @@ -356,7 +356,7 @@ def get_friends_included(self): def get_context_data(self, **kwargs): context = super(FriendView, self).get_context_data(**kwargs) - context.update(friend = self.friend, non_friend = (self.friend.password == 'NOTFRIENDS'), request_sent = (self.friend.password == 'REQUESTSENT'), request_received - (self.friend.password == 'REQUESTRECEIVED')) + context.update(friend = self.friend, non_friend = (self.friend.password == 'NOTFRIENDS'), request_sent = (self.friend.password == 'REQUESTSENT'), request_received = (self.friend.password == 'REQUESTRECEIVED')) return context