Skip to content

Commit

Permalink
Drop fts.backends.base.BaseManager.__call__ convenience method. It br…
Browse files Browse the repository at this point in the history
…eaks using manager (and, more importantly, RelatedManager which inherits that method) in views. See http://stackoverflow.com/questions/1142411/reverse-foreign-key-in-django-template for details.
  • Loading branch information
mpasternacki committed Jul 17, 2009
1 parent fe854b5 commit 03cf1ab
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fts/backends/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ def __init__(self, **kwargs):
if not self.language_code:
from django.utils import translation
self.language_code = translation.get_language().split('-',1)[0].lower()

def __call__(self, query, **kwargs):
return self.search(query, **kwargs)

def contribute_to_class(self, cls, name):
# Instances need to get to us to update their indexes.
Expand Down

0 comments on commit 03cf1ab

Please sign in to comment.