job description optional

This commit is contained in:
Chris Mitchell 2015-04-22 14:56:08 -04:00
parent 1eaa811128
commit 7ba7a44870
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class DjanguiModel(models.Model):
# TODO: add a setting for allowing anonymous users
djangui_user = models.ForeignKey(settings.AUTH_USER_MODEL, blank=True, null=True)
djangui_job_name = models.CharField(max_length=255)
djangui_job_description = models.TextField()
djangui_job_description = models.TextField(null=True, blank=True)
djangui_command = models.TextField(null=True, blank=True)
djangui_celery_id = models.CharField(max_length=255, blank=True, null=True)
djangui_celery_state = models.CharField(max_length=255, blank=True, null=True)