[Answer]-Django retrieving users from tuples

1👍

Create a list of Friends

list_of_friend_requests = [r.to_user for r in requests]

Filter using django’s filtering

persons = Person.objects.filter(user__in=list_of_friend_requests)

Leave a comment