Skip to content

Commit

Permalink
Fixed the docstring of SearchQuerySet.none. Closes django-haystack#435.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Jun 25, 2012
1 parent ded460a commit 3ad5266
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions haystack/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3ad5266

Please sign in to comment.