[Fixed]-Looping through a list of items to get their foreignkey value

1👍

✅

The correct thing to do is to always start from the model you want to get.

Feed.objects.filter(authority__in=followed_authority)

Leave a comment