From 96624aeb8f789747dc4ae87e3b8d35e15ed923a7 Mon Sep 17 00:00:00 2001 From: nishanth Date: Fri, 26 Feb 2010 14:39:47 +0530 Subject: modified request model. --- taskapp/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'taskapp/models.py') diff --git a/taskapp/models.py b/taskapp/models.py index 81660d8..db7d6ab 100644 --- a/taskapp/models.py +++ b/taskapp/models.py @@ -136,10 +136,10 @@ class Request(models.Model): 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) -- cgit