From 542ab7afd70cb683dd203f666b7622ff23f16a7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 25 Jun 2013 14:59:24 +0200 Subject: [PATCH] Fix: missing blank = true --- apps/funding/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1