Adds another job state to account for when sending limits have been exceeded.

This commit is contained in:
Martyn Inglis
2016-03-09 13:57:53 +00:00
parent 61af70a392
commit b0074449bd
4 changed files with 90 additions and 22 deletions

View File

@@ -157,7 +157,7 @@ class Template(db.Model):
subject = db.Column(db.Text, index=False, unique=True, nullable=True)
JOB_STATUS_TYPES = ['pending', 'in progress', 'finished']
JOB_STATUS_TYPES = ['pending', 'in progress', 'finished', 'sending limits exceeded']
class Job(db.Model):