Adds field on import job to check if job completed
the task isn't a reliable indicator, unfortunately.
This commit is contained in:
parent
e60a984bea
commit
d04271af75
4 changed files with 22 additions and 1 deletions
|
@ -69,3 +69,5 @@ def import_data(job_id):
|
|||
item.save()
|
||||
finally:
|
||||
create_notification(job.user, 'IMPORT', related_import=job)
|
||||
job.complete = True
|
||||
job.save()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue