From 5f507d6835bc90804967c91e08f0a97d9c455ab7 Mon Sep 17 00:00:00 2001 From: nishanth Date: Wed, 3 Mar 2010 14:31:31 +0530 Subject: added help text in models.py --- taskapp/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'taskapp') diff --git a/taskapp/models.py b/taskapp/models.py index 8a2b57b..8a9182a 100644 --- a/taskapp/models.py +++ b/taskapp/models.py @@ -92,9 +92,9 @@ class Task(models.Model): 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") -- cgit