From: Radek Czajka Date: Mon, 31 Mar 2014 14:47:49 +0000 (+0200) Subject: Haystack 2 compatibility. X-Git-Tag: 0.4.1 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/refs/tags/0.4.1 Haystack 2 compatibility. --- diff --git a/migdal/search_indexes.py b/migdal/search_indexes.py index 5e3f7d4..d809e7b 100644 --- a/migdal/search_indexes.py +++ b/migdal/search_indexes.py @@ -5,7 +5,7 @@ from fnpdjango.utils.models.translation import add_translatable_index, localize_ from migdal.models import Entry -class EntryIndex(indexes.RealTimeSearchIndex, indexes.Indexable): +class EntryIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(null=True, model_attr=localize_field('body', settings.LANGUAGE_CODE), document=True)