From 437b89db23e08c5d42925b83aa92211e555d4166 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 15 Jan 2026 10:52:45 +0100 Subject: [PATCH] fix info --- .../management/commands/teleforma-cleanup-private-documents.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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") -- 2.39.5