From 01cf7780c0dfb06d02817190b2fcc90623c155b0 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 7 Jul 2015 01:25:52 -0400 Subject: [PATCH] Add reminder. --- mayan/apps/documents/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mayan/apps/documents/models.py b/mayan/apps/documents/models.py index 256415af89..e6f88d6e0e 100644 --- a/mayan/apps/documents/models.py +++ b/mayan/apps/documents/models.py @@ -368,6 +368,7 @@ class DocumentVersion(models.Model): # If converter backend doesn't understand the format, # use 1 as the total page count detected_pages = 1 + # TODO: should be no pages instead? with transaction.atomic(): self.pages.all().delete()