[Answered ]-Django – Get childs of child objects?

3👍

Something in “other directions” should work, so it would be e.g.:

SecondChild.objects.filter(first_child__parent=some_parent)
👤jasisz

-1👍

You can always use filter rather than using child_set. Try to filter on the Model with the foreign key attribute.

Leave a comment