aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/photos
diff options
context:
space:
mode:
authorbnewbold <bnewbold@eta.mit.edu>2009-01-25 13:05:25 -0500
committerbnewbold <bnewbold@eta.mit.edu>2009-01-25 13:05:25 -0500
commit75bc6a976f98e36a9426e6115d3f628a8fa73762 (patch)
treeabf42e0d4b94146506e0208a08afe8758eb11a93 /bn_django/photos
parent296dc07f010d8692028db682d02ef3e88e525f01 (diff)
downloadbnewnet-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.py2
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)