fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make custom PDF task clean up after itself.
[wolnelektury.git]
/
apps
/
search
/
management
/
commands
/
reindex.py
diff --git
a/apps/search/management/commands/reindex.py
b/apps/search/management/commands/reindex.py
index
4a17acd
..
4941354
100755
(executable)
--- 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: