From: Guillaume Pellerin Date: Thu, 15 Jan 2026 09:52:45 +0000 (+0100) Subject: fix info X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=437b89db23e08c5d42925b83aa92211e555d4166;p=teleforma.git fix info --- diff --git a/teleforma/management/commands/teleforma-cleanup-private-documents.py b/teleforma/management/commands/teleforma-cleanup-private-documents.py index a0913397..d1950ac9 100644 --- a/teleforma/management/commands/teleforma-cleanup-private-documents.py +++ b/teleforma/management/commands/teleforma-cleanup-private-documents.py @@ -14,7 +14,6 @@ class Command(BaseCommand): days = int(args[0]) date_limit = datetime.today() - timedelta(days=days) documents = DocumentPrivate.objects.filter(date_added__lte=date_limit) - print("num of docs: ", documents.count()) + print("deleting ", documents.count(), " private documents...") for document in documents: document.delete() - print(document.pk, "deleted")