Q:

django model get all documents with a given foreign key

entities = MyModel.objects.filter(my_field='some value')
0

New to Communities?

Join the community