def get_all_related_objects_with_model(self):
        """
        Returns a list of (related-object, model) pairs. Similar to
        get_fields_with_model().
        """
        try:
            self._related_objects_cache
        except __HOLE__:
            self._fill_related_objects_cache()
        return self._related_objects_cache.items()
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/db/models/options.py/Options.get_all_related_objects_with_model