modified request model.
authornishanth
Fri, 26 Feb 2010 14:39:47 +0530
changeset 116 cb7f54ed5866
parent 115 52f2b9968ccd
child 117 58fa1d626d37
modified request model.
taskapp/models.py
--- a/taskapp/models.py	Fri Feb 26 14:35:32 2010 +0530
+++ b/taskapp/models.py	Fri Feb 26 14:39:47 2010 +0530
@@ -136,10 +136,10 @@
     sent_to = models.ManyToManyField(User, related_name = "%(class)s_sent_to", blank = False)
     sent_by = models.ForeignKey(User, related_name = "%(class)s_sent_by", blank = False)
     role = models.CharField(max_length = 2, blank = False)
-    reply = models.BooleanField(default = False)
+    reply = models.BooleanField(default = False, blank = False)
     remarks = models.TextField(default = "",blank = True)
-    is_read = models.BooleanField(default = False)
-    is_valid = models.BooleanField(default = True)
+    is_read = models.BooleanField(default = False, blank = False)
+    is_valid = models.BooleanField(default = True, blank = False)
     creation_date = models.DateTimeField()
     reply_date = models.DateTimeField()
     is_replied = models.BooleanField(default = False)