X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0bd51a33b9ffe994541ccd02fc850d47ac82ccec..0e9ce396fab5cdfc2f1806bae43f05de77cb1e21:/apps/search/management/commands/reindex.py 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: