diff options
author | bnewbold <bnewbold@eta.mit.edu> | 2009-01-25 13:05:25 -0500 |
---|---|---|
committer | bnewbold <bnewbold@eta.mit.edu> | 2009-01-25 13:05:25 -0500 |
commit | 75bc6a976f98e36a9426e6115d3f628a8fa73762 (patch) | |
tree | abf42e0d4b94146506e0208a08afe8758eb11a93 /bn_django/photos | |
parent | 296dc07f010d8692028db682d02ef3e88e525f01 (diff) | |
download | bnewnet-75bc6a976f98e36a9426e6115d3f628a8fa73762.tar.gz bnewnet-75bc6a976f98e36a9426e6115d3f628a8fa73762.zip |
whew artifact stuff, all basic style
Diffstat (limited to 'bn_django/photos')
-rw-r--r-- | bn_django/photos/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bn_django/photos/models.py b/bn_django/photos/models.py index 3d47cf0..fd31fa6 100644 --- a/bn_django/photos/models.py +++ b/bn_django/photos/models.py @@ -81,7 +81,7 @@ class Photo(models.Model): upload_to= STOCKPHOTO_BASE + "/%Y/%m/%d/") title = models.CharField("title", max_length=80) desc = models.TextField("description", blank=True) - gallery = models.ForeignKey(Gallery) + gallery = models.ForeignKey(Gallery, blank=True, null=True) photographer = models.CharField("photographer", max_length=80, blank=True) date = models.DateField("date photographed", blank=True, null=True) |