From 7ba7a44870a324a5b6cfed80785ee540306adb4d Mon Sep 17 00:00:00 2001 From: Chris Mitchell Date: Wed, 22 Apr 2015 14:56:08 -0400 Subject: [PATCH] job description optional --- djangui/db/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangui/db/models.py b/djangui/db/models.py index f4dfddb..8c0fa01 100644 --- a/djangui/db/models.py +++ b/djangui/db/models.py @@ -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)