Fixed silly typo in [4651].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e7aab3a474
commit
f2aa1b93e0
|
@ -202,8 +202,8 @@ class QuerySet(object):
|
|||
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 = ()
|
||||
|
|
Loading…
Reference in New Issue