]> git.parisson.com Git - teleforma.git/commitdiff
fix object
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 15 Jan 2025 07:05:53 +0000 (08:05 +0100)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Wed, 15 Jan 2025 07:06:03 +0000 (08:06 +0100)
teleforma/management/commands/teleforma-cleanup-private-documents.py

index 9052eeb380c80ee1eb112cc5a425d08421b93d8c..207310662488aaf33ae80a5df39803b59f11ed06 100644 (file)
@@ -7,4 +7,4 @@ class Command(BaseCommand):
 
     def handle(self, *args, **options):
         for document in DocumentPrivate.objects.all():
-            DocumentPrivate.delete()
+            document.delete()