summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tbc/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbc/models.py b/tbc/models.py
index b3bde93..7deb31c 100644
--- a/tbc/models.py
+++ b/tbc/models.py
@@ -107,8 +107,8 @@ class Book(models.Model):
contributor = models.ForeignKey(Profile)
reviewer = models.ForeignKey(Reviewer)
approved = models.BooleanField(default=False)
- start_time = models.DateField(auto_now_add=True)
- end_time = models.DateField(auto_now=True)
+ start_time = models.DateField(null=True, default=None)
+ end_time = models.DateField(null=True, default=None)
tags = TaggableManager()
def __unicode__(self):
name = self.title or 'Book'