Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

queryset-refactor: Fixed a typo spotted by msaelices. Fixed #6787.

git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@7250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0c84766c58c0f153c0defc6d0c3a5a56dc2a271e 1 parent b102bf2
@malcolmt malcolmt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/query.py
View
2  django/db/models/query.py
@@ -41,7 +41,7 @@ def __len__(self):
else:
self._result_cache = list(self.iterator())
elif self._iter:
- self.result_cache.extend(list(self._iter))
+ self._result_cache.extend(list(self._iter))
return len(self._result_cache)
def __iter__(self):
Please sign in to comment.
Something went wrong with that request. Please try again.