Add new field for peregrine logging
This commit is contained in:
parent
d1a7590337
commit
16f3afcba8
|
@ -32,6 +32,8 @@ class Schedule(MetaDataModel):
|
|||
|
||||
report_sent = models.DateTimeField(_('Report is send to user'), blank=True, null=True, help_text=_('The date and time when the report has sended to the user.'))
|
||||
|
||||
peregrine_output_log = models.TextField(_('Peregrine logging'), blank=True, help_text=_('Here you can see the logging of the Peregrine job.'))
|
||||
|
||||
def __str__(self):
|
||||
"""str: Returns a readable name for the schedule. Format is [schedule_name] (employee_name)."""
|
||||
return '{} ({})'.format(self.name, self.employee)
|
Loading…
Reference in New Issue