Merge pull request #656 from alphagov/add-cancel-job-endpoint

Add an endpoint to cancel a job
This commit is contained in:
Chris Hill-Scott
2016-09-06 12:11:32 +01:00
committed by GitHub
7 changed files with 100 additions and 7 deletions

View File

@@ -305,6 +305,7 @@ JOB_STATUS_IN_PROGRESS = 'in progress'
JOB_STATUS_FINISHED = 'finished'
JOB_STATUS_SENDING_LIMITS_EXCEEDED = 'sending limits exceeded'
JOB_STATUS_SCHEDULED = 'scheduled'
JOB_STATUS_CANCELLED = 'cancelled'
class JobStatus(db.Model):