Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/o/portfoliyo-HEAD/portfoliyo/tests/model/users/test_models.py   portfoliyo(Download)
        # one query for profiles and one for elder relationships
        with utils.assert_num_queries(2):
            qs = model.Profile.objects.prefetch_elders()
            assert set(
                tuple(p.elders) for p in qs