1👍
✅
If user is the one you want friends for:
user.friend_users.filter(active=True).values_list('friend', flat=True)
Source:stackexchange.com
1👍
If user is the one you want friends for:
user.friend_users.filter(active=True).values_list('friend', flat=True)