--- a/pytask/taskapp/models.py Sat Jan 08 23:04:55 2011 +0530
+++ b/pytask/taskapp/models.py Sat Jan 08 23:12:01 2011 +0530
@@ -47,7 +47,7 @@
related_name = "%(class)s_selected_users")
creation_datetime = models.DateTimeField()
- approval_datetime = models.DateTimeField(blank = True)
+ approval_datetime = models.DateTimeField(blank = True, null = True)
def __unicode__(self):
return unicode(self.title)
@@ -144,6 +144,6 @@
status = models.CharField(max_length = 2, choices = TB_STATUS_CHOICES, default = "UP")
creation_datetime = models.DateTimeField()
- approval_datetime = models.DateTimeField(blank = True)
+ approval_datetime = models.DateTimeField(blank = True, null = True)
tagging.register(Task)