summaryrefslogtreecommitdiff
path: root/taskapp/models.py
diff options
context:
space:
mode:
authorNishanth Amuluru2011-01-05 22:30:45 +0530
committerNishanth Amuluru2011-01-05 22:30:45 +0530
commitdfc9b3caf56c119d10c002c321a8fcd1d7ff8406 (patch)
tree7269db834ceff1448d3586c6d421767e64ea79cf /taskapp/models.py
parent5323d98a3650222a96fdf19110280991e08b68e8 (diff)
downloadpytask-dfc9b3caf56c119d10c002c321a8fcd1d7ff8406.tar.gz
pytask-dfc9b3caf56c119d10c002c321a8fcd1d7ff8406.tar.bz2
pytask-dfc9b3caf56c119d10c002c321a8fcd1d7ff8406.zip
Replaced the word credit with pynt
--HG-- rename : templates/task/assigncredits.html => templates/task/assignpynts.html
Diffstat (limited to 'taskapp/models.py')
-rw-r--r--taskapp/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/taskapp/models.py b/taskapp/models.py
index 8df5dc8..173a5df 100644
--- a/taskapp/models.py
+++ b/taskapp/models.py
@@ -30,7 +30,7 @@ NOTIFY_CHOICES = (
("DV", "Developer"),
("MG", "Manager"),
("AD", "Admin"),
- ("PY", "Assign credits"),
+ ("PY", "Assign pynts"),
("CM", "Task completed"),
("CD", "Task closed"),
("DL", "Task deleted"),
@@ -70,7 +70,7 @@ class Profile(models.Model):
dob = models.DateField(verbose_name = u"Date of Birth", help_text = "YYYY-MM-DD")
gender = models.CharField(max_length = 1, choices = GENDER_CHOICES)
rights = models.CharField(max_length = 2, choices = RIGHTS_CHOICES, default = u"CT")
- credits = models.PositiveSmallIntegerField(default = 0)
+ pynts = models.PositiveSmallIntegerField(default = 0)
aboutme = models.TextField(blank = True)
foss_comm = TagField(verbose_name="FOSS Communities")
@@ -94,7 +94,7 @@ class Task(models.Model):
status = models.CharField(max_length = 2, choices = STATUS_CHOICES, default = "UP")
tags_field = TagField(verbose_name = u"Tags", help_text = u"Give comma seperated tags")
- credits = models.PositiveSmallIntegerField(help_text = u"No.of credits a user gets on completing the task")
+ pynts = models.PositiveSmallIntegerField(help_text = u"No.of pynts a user gets on completing the task")
progress = models.PositiveSmallIntegerField(default = 0)
reviewers = models.ManyToManyField(User, related_name = "%(class)s_reviewers")