Use pre_execute signal to specify started vs queued

This commit is contained in:
Michael Shamoon committed 2022-06-06 01:39:45 -07:00
1 parent a90dd2ad1e
commit bd995089a8
8 files changed
+54 -21

No files matched your search

+2 -1
View File
@@ -507,7 +507,8 @@ class PaperlessTask(models.Model):
task_id = models.CharField(max_length=128)
name = models.CharField(max_length=256)
created = models.DateTimeField(_("created"), auto_now=True, db_index=True)
created = models.DateTimeField(_("created"), auto_now=True)
started = models.DateTimeField(_("started"))
attempted_task = models.OneToOneField(
Task,
on_delete=models.CASCADE,