# HG changeset patch # User ymh # Date 1265047017 -3600 # Node ID 474430a0a43d07f083dc73145f26bcc4a02d3ec9 # Parent 648b5995272acfc7cee60e6f3eddc0f8df8a647c make photos optionals diff -r 648b5995272a -r 474430a0a43d web/blinkster/__init__.py --- a/web/blinkster/__init__.py Mon Feb 01 14:59:28 2010 +0100 +++ b/web/blinkster/__init__.py Mon Feb 01 18:56:57 2010 +0100 @@ -1,3 +1,3 @@ -VERSION = (0,9) +VERSION = (0,10) VERSION_STR = unicode(".".join(map(lambda i:"%02d" % (i,), VERSION))) diff -r 648b5995272a -r 474430a0a43d web/blinkster/models.py --- a/web/blinkster/models.py Mon Feb 01 14:59:28 2010 +0100 +++ b/web/blinkster/models.py Mon Feb 01 18:56:57 2010 +0100 @@ -25,7 +25,7 @@ short_title = models.CharField(max_length=512, unique=True, blank=False, null=False) description = models.TextField(blank=True, null=True) - photos = models.ForeignKey(photologue.models.Gallery, null=True) + photos = models.ForeignKey(photologue.models.Gallery, null=True, blank=True) def serialize_to_dict(self): res = {