Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed silly typo in [4651].

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f2aa1b93e09202707453d26f0648cd9aaf57e4ec 1 parent e7aab3a
@jacobian jacobian authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/models/
4 django/db/models/
@@ -202,8 +202,8 @@ def count(self):
simply returns the length of the cached results set to avoid multiple
SELECT COUNT(*) calls.
- if self._results_cache is not None:
- return len(self._results_cache)
+ if self._result_cache is not None:
+ return len(self._result_cache)
counter = self._clone()
counter._order_by = ()
Please sign in to comment.
Something went wrong with that request. Please try again.