'A select_related() call will fill in those related objects without any
extra queries'

def test_access_fks_with_select_related(self):

    def test():
        person = Species.objects.select_related(depth=10).get(name='sapiens')
        domain = person.genus.family.order.klass.phylum.kingdom.domain
        self.assertEqual(domain.name, 'Eukaryota')
    self.assertNumQueries(1, test)
