Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

The comment field ist short, doesn't need to be CharField

Roland Geideref894813d9d0
diff --git a/manager/models.py b/manager/models.py
index 9514d823f..06d501d5e 100644
--- a/manager/models.py
+++ b/manager/models.py
@@ -25,7 +25,7 @@ class TrainingSchedule(models.Model):
"""Model for a training schedule
"""
creation_date = models.DateField(_('Creation date'), auto_now_add=True)
- comment = models.TextField(_('Comment'), max_length=100, blank=True)
+ comment = models.CharField(_('Comment'), max_length=100, blank=True)
user = models.ForeignKey(User, verbose_name = _('User'))