make noteworthy image optional

This commit is contained in:
Sanj 2012-10-02 18:31:44 +05:30
parent 64f47e445f
commit 9b1cf4b16c

View File

@ -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)