Dodato full regenerisanje dokumenta,dodat fallback za incomplete document

This commit is contained in:
2025-08-26 19:32:03 +02:00
parent 959ec958bb
commit 031f955739
8 changed files with 303 additions and 55 deletions

View File

@@ -109,9 +109,11 @@ class Document(models.Model):
STATUS_WAITING = 'waiting'
STATUS_DONE = 'done'
STATUS_INCOMPLETE = 'incomplete'
STATUS_CHOICES = (
(STATUS_WAITING, 'Waiting'),
(STATUS_DONE, 'Done'),
(STATUS_INCOMPLETE, 'Incomplete'),
)
status = models.CharField(max_length=16, choices=STATUS_CHOICES, default=STATUS_WAITING)