Link import job to import status and display status on status page.
This commit is contained in:
parent
22b2a95fd3
commit
60dabe442e
5 changed files with 31 additions and 2 deletions
|
@ -36,6 +36,8 @@ class ImportJob(models.Model):
|
|||
user = models.ForeignKey(User, on_delete=models.CASCADE)
|
||||
created_date = models.DateTimeField(default=timezone.now)
|
||||
task_id = models.CharField(max_length=100, null=True)
|
||||
import_status = models.ForeignKey(
|
||||
'Status', null=True, on_delete=models.PROTECT)
|
||||
|
||||
class ImportItem(models.Model):
|
||||
job = models.ForeignKey(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue