import search
+# Those are hard-coded here so that makemessages sees them.
TAG_CATEGORIES = (
('author', _('author')),
('epoch', _('epoch')),
result = create_zip.delay(paths, "%s_%s" % (self.slug, format_))
return result.wait()
- def search_index(self, book_info=None):
- if settings.CELERY_ALWAYS_EAGER:
+ def search_index(self, book_info=None, reuse_index=False):
+ if reuse_index:
idx = search.ReusableIndex()
else:
idx = search.Index()