Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add help_text to model

Roland Geidere9e805c5779c
diff --git a/manager/models.py b/manager/models.py
index 55cdf76e0..fbf2e0a2b 100644
--- a/manager/models.py
+++ b/manager/models.py
@@ -85,7 +85,10 @@ class ExerciseComment(models.Model):
"""Model for an exercise comment
"""
exercise = models.ForeignKey(Exercise, verbose_name =_ ('Exercise'))
- comment = models.CharField(max_length=200, blank=True, verbose_name =_ ('Comment'))
+ comment = models.CharField(max_length=200,
+ blank=True,
+ verbose_name =_ ('Comment'),
+ help_text=_('Some comment about how to correctly do this exercise'))
def __unicode__(self):
"""Return a more human-readable representation