--- a/qrurls/models.py Wed Aug 21 01:17:44 2013 +0300
+++ b/qrurls/models.py Wed Aug 21 01:18:22 2013 +0300
@@ -46,6 +46,8 @@
help_text="Changing this will break existing QR-codes!")
publishing_time = models.TimeField(default=datetime.time(),
help_text="Default time to publish new URLItems (in timezone)")
+ title = models.CharField(max_length=1024, blank=True, null=True,
+ help_text="Text to display together with images.")
class Meta:
verbose_name = u"URL Feed"
@@ -109,7 +111,7 @@
class URLImage(models.Model):
image = models.ImageField(upload_to=IMAGES_MEDIA, storage=SecretFileSystemStorage())
- title = models.CharField(max_length=1024)
+ title = models.CharField(max_length=1024, blank=True)
uploaded = models.DateTimeField(auto_now_add=True)
class Meta: