@cached_property
    def child_object_manager_cls(self):
        try:
            rel = self.rel
        except __HOLE__:
            # Django 1.8 and below
            rel = self.related

        return create_deferring_foreign_related_manager(rel, self.related_manager_cls)
dataset/ETHPy150Open torchbox/django-modelcluster/modelcluster/fields.py/ChildObjectsDescriptor.child_object_manager_cls