def test05_select_related_fk_to_subclass(self):
        # Regression test for #9752.
        list(DirectoryEntry.objects.all().select_related())
Testing that calling select_related on a query over a model with an FK to a model subclass works
dataset/ETHPy150Open django/django/tests/gis_tests/relatedapp/tests.py/RelatedGeoModelTest.test05_select_related_fk_to_subclass