added help text in models.py
authornishanth
Wed, 03 Mar 2010 14:31:31 +0530
changeset 194 e43ceb9c4ec3
parent 193 505bbe421be4
child 195 2717c8533322
child 197 3b28b1f9bf06
added help text in models.py
taskapp/models.py
--- a/taskapp/models.py	Wed Mar 03 14:19:40 2010 +0530
+++ b/taskapp/models.py	Wed Mar 03 14:31:31 2010 +0530
@@ -92,9 +92,9 @@
     title = models.CharField(max_length = 100, verbose_name = u"Title", help_text = u"Keep it simple and below 100 chars.")
     desc = models.TextField(verbose_name = u"Description")
     status = models.CharField(max_length = 2, choices = STATUS_CHOICES, default = "UP")
-    tags_field = TagField(verbose_name = u"Tags") 
+    tags_field = TagField(verbose_name = u"Tags", help_text = u"Give comma seperated tags") 
     
-    credits = models.PositiveSmallIntegerField()
+    credits = models.PositiveSmallIntegerField(help_text = u"No.of credits a user gets on completing the task")
     progress = models.PositiveSmallIntegerField(default = 0)
         
     mentors = models.ManyToManyField(User, related_name = "%(class)s_mentors")