Add in_process field to Document model

This commit is contained in:
shamoon
2025-08-26 00:55:23 -07:00
parent f2fabc81d4
commit fda29f51c3
2 changed files with 30 additions and 0 deletions

View File

@@ -289,6 +289,13 @@ class Document(SoftDeleteModel, ModelWithOwner):
),
)
in_process = models.BooleanField(
_("in process"),
default=False,
db_index=True,
help_text=_("Whether the document is currently being processed."),
)
class Meta:
ordering = ("-created",)
verbose_name = _("document")