From: Jan Szejko Date: Thu, 3 Jan 2019 11:55:49 +0000 (+0100) Subject: allow empty assignment title X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/baf89aa9174c764f934662e8b24ed9a99a1c3992?ds=inline;hp=5d78f2b7af4ee0f1aa48f1e2538ef40ea6b19b00 allow empty assignment title --- diff --git a/stage2/models.py b/stage2/models.py index 244322d..204b4da 100644 --- a/stage2/models.py +++ b/stage2/models.py @@ -59,7 +59,7 @@ class Participant(models.Model): class Assignment(models.Model): - title = models.CharField(_('title'), max_length=128) + title = models.CharField(_('title'), max_length=128, blank=True) content = models.TextField(_('content')) content_url = models.URLField(_('URL')) deadline = models.DateTimeField(_('deadline'))