summaryrefslogtreecommitdiff
path: root/taskapp/models.py
diff options
context:
space:
mode:
authornishanth2010-03-03 14:31:31 +0530
committernishanth2010-03-03 14:31:31 +0530
commit5f507d6835bc90804967c91e08f0a97d9c455ab7 (patch)
treea9c6cc74a4ed2d2c8ac88e795766b63d8ca189d7 /taskapp/models.py
parent321e1693ebc24eed39ecc13b906cd2bf06a36561 (diff)
downloadpytask-5f507d6835bc90804967c91e08f0a97d9c455ab7.tar.gz
pytask-5f507d6835bc90804967c91e08f0a97d9c455ab7.tar.bz2
pytask-5f507d6835bc90804967c91e08f0a97d9c455ab7.zip
added help text in models.py
Diffstat (limited to 'taskapp/models.py')
-rw-r--r--taskapp/models.py4
1 files changed, 2 insertions, 2 deletions
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")