[Answer]-Get the objects of model refrenced in another model as fk django

1👍

I can’t test it right now but probably something like:

as_in_bs = map(lambda b: b.field1, B.objects.filter(field1__isnull=False))

Take a look in their docs for more ideas.

Leave a comment