Add a simple comment to list the possible states of a Campaign

pull/1/head
Raymond Yee 2012-01-03 10:20:17 -05:00
parent 81fc04ef12
commit 7c018687d0
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class Campaign(models.Model):
amazon_receiver = models.CharField(max_length=100, blank=True)
work = models.ForeignKey("Work", related_name="campaigns", null=False)
managers = models.ManyToManyField(User, related_name="campaigns", null=False)
# status: INITIALIZED, ACTIVE, SUSPENDED, WITHDRAWN, SUCCESSFUL, UNSUCCESSFUL
status = models.CharField(max_length=15, null=True, blank=False, default="INITIALIZED")
problems = []