django/django — pull request #584 by robert-j-engdahl (2012-12-13 08:41:40+00:00)
Title: Fixed a bug in QuerySet slicing

django/db/models/query.py (QuerySet.__getitem__): Fixed a bug where slicing a partly iterated QuerySet without explicit stop would return the slice of the unmodified result cache, discarding uncached rows from the slice.

This bug applies to QuerySets that are larger than CHUNK_SIZE which seem to be 100.