taskapp/models.py
changeset 219 f04a1ec7a07f
parent 218 59107ce0a618
child 220 807e4b701a20
--- a/taskapp/models.py	Wed Jan 05 22:22:10 2011 +0530
+++ b/taskapp/models.py	Wed Jan 05 22:30:45 2011 +0530
@@ -30,7 +30,7 @@
     ("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 @@
     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 @@
     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")