.
This commit is contained in:
@@ -180,6 +180,10 @@ class RotaRun(models.Model):
|
||||
result = models.JSONField(null=True, blank=True)
|
||||
log = models.TextField(blank=True)
|
||||
|
||||
# Optional HTML export produced by a run (stored inline for convenience).
|
||||
# May be large; keep nullable to avoid breaking existing runs.
|
||||
export_html = models.TextField(null=True, blank=True)
|
||||
|
||||
def mark_running(self):
|
||||
self.status = self.STATUS_RUNNING
|
||||
self.started_at = timezone.now()
|
||||
|
||||
Reference in New Issue
Block a user