Add reminder.
This commit is contained in:
@@ -368,6 +368,7 @@ class DocumentVersion(models.Model):
|
|||||||
# If converter backend doesn't understand the format,
|
# If converter backend doesn't understand the format,
|
||||||
# use 1 as the total page count
|
# use 1 as the total page count
|
||||||
detected_pages = 1
|
detected_pages = 1
|
||||||
|
# TODO: should be no pages instead?
|
||||||
|
|
||||||
with transaction.atomic():
|
with transaction.atomic():
|
||||||
self.pages.all().delete()
|
self.pages.all().delete()
|
||||||
|
|||||||
Reference in New Issue
Block a user