Permalink
Browse files

Fixed the docstring of SearchQuerySet.none. Closes #435.

  • Loading branch information...
1 parent ded460a commit 3ad52667e53382f00ec62a8a914fb0f12650c4a8 @jezdez jezdez committed Jun 25, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 haystack/query.py
View
@@ -269,15 +269,13 @@ def __getitem__(self, k):
else:
return self._result_cache[start]
-
# Methods that return a SearchQuerySet.
-
def all(self):
"""Returns all results for the query."""
return self._clone()
def none(self):
- """Returns all results for the query."""
+ """Returns an empty result list for the query."""
return self._clone(klass=EmptySearchQuerySet)
def filter(self, *args, **kwargs):

0 comments on commit 3ad5266

Please sign in to comment.