Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Make the goal a TextField, this is rendered as a textarea, which is more inviting

Roland Geiderb161407e881d
diff --git a/manager/models.py b/manager/models.py
index 75e1b7ea6..8d2d6caa0 100644
--- a/manager/models.py
+++ b/manager/models.py
@@ -28,7 +28,7 @@ class TrainingSchedule(models.Model):
"""Model for a training schedule
"""
creation_date = models.DateField(_('Creation date'), auto_now_add=True)
- comment = models.CharField(verbose_name = _('Description'),
+ comment = models.TextField(verbose_name = _('Description'),
max_length=100,
blank=True,
help_text = _('''A short description of the goal of the workout.