bsnux/django-simple-friends — comment on commit 9551f8cca1225275ac9d557bcefcc17771df438c
File: README.rst line 81
By muhuk:

Using values_list would be better here:

friends = Friendship.objects.friends_of(user1).values_list('id', flat=True)