summaryrefslogtreecommitdiff
path: root/taskapp/models.py
diff options
context:
space:
mode:
authornishanth2010-02-26 14:35:32 +0530
committernishanth2010-02-26 14:35:32 +0530
commit1b74f3cbb2f51753374aff8db738d9b9616274db (patch)
tree7a832da05b71c207bbc5348fa0414ba37045c4af /taskapp/models.py
parent783a2c959f365588849b2af728aa7e9b0c19bf02 (diff)
downloadpytask-1b74f3cbb2f51753374aff8db738d9b9616274db.tar.gz
pytask-1b74f3cbb2f51753374aff8db738d9b9616274db.tar.bz2
pytask-1b74f3cbb2f51753374aff8db738d9b9616274db.zip
added an attribute called is_valid to request model just in case we need it in future.
Diffstat (limited to 'taskapp/models.py')
-rw-r--r--taskapp/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/taskapp/models.py b/taskapp/models.py
index 4df3d6c..81660d8 100644
--- a/taskapp/models.py
+++ b/taskapp/models.py
@@ -139,6 +139,7 @@ class Request(models.Model):
reply = models.BooleanField(default = False)
remarks = models.TextField(default = "",blank = True)
is_read = models.BooleanField(default = False)
+ is_valid = models.BooleanField(default = True)
creation_date = models.DateTimeField()
reply_date = models.DateTimeField()
is_replied = models.BooleanField(default = False)