]> git.parisson.com Git - teleforma.git/commitdiff
fix print pk
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Jan 2026 09:51:26 +0000 (10:51 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 15 Jan 2026 09:51:26 +0000 (10:51 +0100)
teleforma/management/commands/teleforma-cleanup-private-documents.py

index 5238a6615f0bb01e32ed02ce36273291ecf0808e..a0913397831b02b6f38cc8da0f5df88d4979f438 100644 (file)
@@ -17,4 +17,4 @@ class Command(BaseCommand):
         print("num of docs: ", documents.count())
         for document in documents:
             document.delete()
-            print(document.id, "deleted")
+            print(document.pk, "deleted")