From 0ff4b857e9d8e2fcf0569ef1ba692280cbc9f88d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 15 Jan 2026 10:51:26 +0100 Subject: [PATCH] fix print pk --- .../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 5238a661..a0913397 100644 --- a/teleforma/management/commands/teleforma-cleanup-private-documents.py +++ b/teleforma/management/commands/teleforma-cleanup-private-documents.py @@ -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") -- 2.39.5