diff options
author | anoop | 2010-02-24 17:11:59 +0530 |
---|---|---|
committer | anoop | 2010-02-24 17:11:59 +0530 |
commit | 13d342d681386176579092d788e2e3930a6b359c (patch) | |
tree | e49c4a19818236c5fbfd1ea5cdd99a424e86f2fd /taskapp/models.py | |
parent | cc15ee32b4fbd1b032b0d8bd916ba2dc88a91078 (diff) | |
download | pytask-13d342d681386176579092d788e2e3930a6b359c.tar.gz pytask-13d342d681386176579092d788e2e3930a6b359c.tar.bz2 pytask-13d342d681386176579092d788e2e3930a6b359c.zip |
added attribute pynts to request model.
Diffstat (limited to 'taskapp/models.py')
-rw-r--r-- | taskapp/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/taskapp/models.py b/taskapp/models.py index 77a5a76..fab49cd 100644 --- a/taskapp/models.py +++ b/taskapp/models.py @@ -141,6 +141,7 @@ class Request(models.Model): replied = models.BooleanField(default = False) task = models.ForeignKey(Task,related_name = "%(class)s_task", blank = True, null = True) assigned_user = models.ForeignKey(User, related_name = "%(class)s_assigned_user", blank = True, null = True) + pynts = models.PositiveIntegerField(default=0) class Notification(models.Model): |