Adds field on import job to check if job completed

the task isn't a reliable indicator, unfortunately.
This commit is contained in:
Mouse Reeve
2021-01-07 08:08:12 -08:00
parent e60a984bea
commit d04271af75
4 changed files with 22 additions and 1 deletions

View File

@ -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()