From e335d8d992b0e8c9f8926c1fe92b3526c3fa1508 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 31 Mar 2014 16:47:49 +0200 Subject: [PATCH] Haystack 2 compatibility. --- migdal/search_indexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.20.1