Permalink
Browse files

Removed a method that was supposed to have been removed before 1.0. O…

…ops.
  • Loading branch information...
1 parent f3bf9b7 commit b8048dc0e9e375ee3fa7eb8ddebd35242d2293ef @toastdriven toastdriven committed Feb 9, 2010
Showing with 0 additions and 11 deletions.
  1. +0 −5 haystack/query.py
  2. +0 −6 tests/core/tests/query.py
View
5 haystack/query.py
@@ -323,11 +323,6 @@ def load_all(self):
clone._load_all = True
return clone
- def load_all_queryset(self, model, queryset):
- # DRL_TODO: Remove before 1.0.
- from haystack.exceptions import HaystackError
- raise HaystackError("This method is deprecated. Please use the `RelatedSearchQuerySet` instead.")
-
def auto_query(self, query_string):
"""
Performs a best guess constructing the search query.
View
6 tests/core/tests/query.py
@@ -464,12 +464,6 @@ def test_load_all(self):
# For full tests, see the solr_backend.
- def test_load_all_queryset(self):
- sqs = self.msqs.load_all()
- self.assertRaises(HaystackError, sqs.load_all_queryset, MockModel, MockModel.objects.filter(id__gt=1))
-
- # For full tests, see the solr_backend.
-
def test_auto_query(self):
sqs = self.bsqs.auto_query('test search -stuff')
self.assert_(isinstance(sqs, SearchQuerySet))

0 comments on commit b8048dc

Please sign in to comment.