X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/99f6dd4f1ff0390de9a9bbd4e3352b953cb9a235..3b4b52aebe1b09fe03b3314158f31c4ef83db425:/apps/search/management/commands/reindex.py?ds=inline diff --git a/apps/search/management/commands/reindex.py b/apps/search/management/commands/reindex.py index 4a17acda9..4941354ce 100755 --- a/apps/search/management/commands/reindex.py +++ b/apps/search/management/commands/reindex.py @@ -51,8 +51,8 @@ class Command(BaseCommand): ) def handle(self, *args, **opts): from catalogue.models import Book - import search - idx = search.Index() + from search.index import Index + idx = Index() if not opts['just_tags']: if args: