From 9b1cf4b16c1f01d3b9a6a1be012d5890f3c67ac6 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 2 Oct 2012 18:31:44 +0530 Subject: [PATCH] make noteworthy image optional --- urbstudio/urb/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urbstudio/urb/models.py b/urbstudio/urb/models.py index bef5db5..2e145f9 100755 --- a/urbstudio/urb/models.py +++ b/urbstudio/urb/models.py @@ -94,7 +94,7 @@ class Link(models.Model): class Noteworthy(models.Model): position = models.IntegerField(null=True) - image = models.ImageField(upload_to='noteworthy_imgs/') + image = models.ImageField(blank=True, upload_to='noteworthy_imgs/') title = models.CharField(max_length=255) description = models.TextField(blank=True) url = models.URLField(blank=True)