From c3d8da24d06a23595eb29926bdbe3f699d789f24 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 15 Jan 2025 08:05:53 +0100 Subject: [PATCH] fix object --- .../management/commands/teleforma-cleanup-private-documents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teleforma/management/commands/teleforma-cleanup-private-documents.py b/teleforma/management/commands/teleforma-cleanup-private-documents.py index 9052eeb3..20731066 100644 --- a/teleforma/management/commands/teleforma-cleanup-private-documents.py +++ b/teleforma/management/commands/teleforma-cleanup-private-documents.py @@ -7,4 +7,4 @@ class Command(BaseCommand): def handle(self, *args, **options): for document in DocumentPrivate.objects.all(): - DocumentPrivate.delete() + document.delete() -- 2.39.5