X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/3f6f55a25872c1d1465f7bdb59e8a766da9c51cc..0ffd0b004ed18d4b39085677fb4966dc883cb4aa:/events/search_indexes.py?ds=sidebyside diff --git a/events/search_indexes.py b/events/search_indexes.py index 9977957..48d0a1c 100644 --- a/events/search_indexes.py +++ b/events/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 events.models import Event -from migdal.helpers import add_translatable_index class EventIndex(indexes.RealTimeSearchIndex, indexes.Indexable):