Add reminder.

This commit is contained in:
Roberto Rosario
2015-07-07 01:25:52 -04:00
parent 4f044cecc7
commit 01cf7780c0

View File

@@ -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()