mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-21 14:51:02 +00:00
Mention that the final number includes dependencies
This commit is contained in:
parent
ab3648e05d
commit
9fc497f826
1 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,6 @@ class Command(BaseCommand):
|
|||
number_deleted, _ = Post.objects.filter(
|
||||
id__in=post_ids_and_uris.values()
|
||||
).delete()
|
||||
print(f"Deleted {number_deleted} posts")
|
||||
print(f"Deleted {number_deleted} posts and dependencies")
|
||||
if number_deleted == 0:
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue