mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-03 21:14:46 +00:00
Tweaked wording of a couple of update_index messages
This commit is contained in:
parent
9de25998fe
commit
fead70bee3
1 changed files with 2 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ class Command(BaseCommand):
|
|||
rebuilder = backend.get_rebuilder()
|
||||
|
||||
if not rebuilder:
|
||||
self.stdout.write(backend_name + ": Backend doesn't support rebuild. Skipping")
|
||||
self.stdout.write(backend_name + ": Backend doesn't require rebuild. Skipping")
|
||||
return
|
||||
|
||||
# Start rebuild
|
||||
|
|
@ -42,8 +42,7 @@ class Command(BaseCommand):
|
|||
index.add_items(model, chunk)
|
||||
count += len(chunk)
|
||||
|
||||
self.stdout.write("Indexed %d %s" % (
|
||||
count, model._meta.verbose_name_plural))
|
||||
self.stdout.write("(indexed %d objects)" % count)
|
||||
self.print_newline()
|
||||
|
||||
# Finish rebuild
|
||||
|
|
|
|||
Loading…
Reference in a new issue