Updates to create job to handle scheduling

- If the job JSON contains a scheduling date then the new 'job_status" column is set to "scheduled"
- the date is persisted on the JOB row in the database
- Also the job WILL NOT be placed onto the queue of jobs. This is deferred to a later celery beat task.
This commit is contained in:
Martyn Inglis
2016-08-24 16:00:21 +01:00
parent cf3c14dbbd
commit 10f499805c
4 changed files with 152 additions and 34 deletions

View File

@@ -1,4 +1,3 @@
from datetime import datetime, timedelta
import uuid
import pytest