Description:
This PR addresses the bug where the friend recommendations section on the user list page includes users that are already being followed. The fix modifies the user_list view to exclude followed users from the friend recommendations, providing more relevant recommendations to the users.
Changes Made:
Updated the user_list view in views.py to exclude followed users from the friend recommendations.
Modified the view logic to exclude users already in the following list when fetching the friend recommendations based on shared spaces.
Description: This PR addresses the bug where the friend recommendations section on the user list page includes users that are already being followed. The fix modifies the user_list view to exclude followed users from the friend recommendations, providing more relevant recommendations to the users.
Changes Made:
Updated the user_list view in views.py to exclude followed users from the friend recommendations. Modified the view logic to exclude users already in the following list when fetching the friend recommendations based on shared spaces.