X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/3f6f55a25872c1d1465f7bdb59e8a766da9c51cc..a84463e418ebe210f8c0ae2f466ad268d31e4c36:/migdal/search_indexes.py?ds=sidebyside diff --git a/migdal/search_indexes.py b/migdal/search_indexes.py index 4257483..27169f3 100644 --- a/migdal/search_indexes.py +++ b/migdal/search_indexes.py @@ -1,8 +1,8 @@ -from django.conf import settings import datetime +from django.conf import settings from haystack import indexes +from fnpdjango.utils.models.translation import add_translatable_index from migdal.models import Entry -from migdal.helpers import add_translatable_index class EntryIndex(indexes.RealTimeSearchIndex, indexes.Indexable):