django get all the foreign keys to an object code example
Example: django model get all documents with a given foreign key
entities = MyModel.objects.filter(my_field='some value')
entities = MyModel.objects.filter(my_field='some value')