  
      def __iter__(self):
          queryset = self.queryset
          compiler = queryset.query.get_compiler(queryset.db)
          for row in compiler.results_iter():
              yield row[0]
  
  
  class QuerySet:
      """Represent a lazy database lookup for a set of objects."""
  
 
</s> remove         return iter(self._iterable_class(self, chunked_fetch=use_chunked_fetch, chunk_size=chunk_size))
 </s> add         return self._iterator(use_chunked_fetch, chunk_size)
        return chain.from_iterable(compiler.results_iter())
  
      def __iter__(self):
          queryset = self.queryset
          compiler = queryset.query.get_compiler(queryset.db)
        return chain.from_iterable(compiler.results_iter())
        return chain.from_iterable(compiler.results_iter())
  
  
  class QuerySet:
      """Represent a lazy database lookup for a set of objects."""
  
keep keep keep keep replace replace keep keep keep keep keep
 Refs #28459 -- Improved performance of FlatValuesListIterable. 
django/db/models/query.py