这是从django docs on the queryset iterator() method:A QuerySet typically caches its results internally so that repeated evaluationsdo not result in additional queries. In contrast, iterator() will read resultsdirectly, without doing any caching …