Mention that the final number includes dependencies

This commit is contained in:
Andrew Godwin 2023-11-12 17:12:05 -07:00
parent ab3648e05d
commit 9fc497f826

View file

@ -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)