make noteworthy image optional
This commit is contained in:
parent
64f47e445f
commit
9b1cf4b16c
|
@ -94,7 +94,7 @@ class Link(models.Model):
|
||||||
|
|
||||||
class Noteworthy(models.Model):
|
class Noteworthy(models.Model):
|
||||||
position = models.IntegerField(null=True)
|
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)
|
title = models.CharField(max_length=255)
|
||||||
description = models.TextField(blank=True)
|
description = models.TextField(blank=True)
|
||||||
url = models.URLField(blank=True)
|
url = models.URLField(blank=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user