From: Aleksander Ɓukasz Date: Tue, 25 Jun 2013 12:59:24 +0000 (+0200) Subject: Fix: missing blank = true X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/542ab7afd70cb683dd203f666b7622ff23f16a7c?ds=inline Fix: missing blank = true --- diff --git a/apps/funding/models.py b/apps/funding/models.py index 0e05e1dcd..ba621d1fd 100644 --- a/apps/funding/models.py +++ b/apps/funding/models.py @@ -29,7 +29,7 @@ class Offer(models.Model): book = models.ForeignKey(Book, null=True, blank=True, help_text=_('Published book.')) cover = models.ImageField(_('Cover'), upload_to = 'funding/covers') - poll = models.ForeignKey(Poll, help_text = _('Poll'), null = True, on_delete = models.SET_NULL) + poll = models.ForeignKey(Poll, help_text = _('Poll'), null = True, blank = True, on_delete = models.SET_NULL) def cover_img_tag(self): return u'' % self.cover.url