From: Guillaume Pellerin Date: Wed, 15 Jan 2025 07:05:53 +0000 (+0100) Subject: fix object X-Git-Tag: 2.9.2~53 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c3d8da24d06a23595eb29926bdbe3f699d789f24;p=teleforma.git fix object --- 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()