Skip to content
Browse files

ValuesQuerySets (and subclasses) were inadvertently not caching their…

… results.


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent ba010ec commit db80f57c6efb23304eb9fb7899b078a85836f850 @malcolmt malcolmt committed
Showing with 0 additions and 3 deletions.
  1. +0 −3 django/db/models/
3 django/db/models/
@@ -497,9 +497,6 @@ def __init__(self, *args, **kwargs):
# QuerySet.clone() will also set up the _fields attribute with the
# names of the model fields to select.
- def __iter__(self):
- return self.iterator()
def iterator(self):
names = self.query.extra_select.keys() + self.field_names

0 comments on commit db80f57

Please sign in to comment.
Something went wrong with that request. Please try again.