Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add a verbose name and a help text to show_comment on UserModel

Roland Geider6cbaf4612aac
diff --git a/manager/models.py b/manager/models.py
index 38cfca280..266551790 100644
--- a/manager/models.py
+++ b/manager/models.py
@@ -111,7 +111,8 @@ class UserProfile(models.Model):
#
# Show exercise comments on workout view
- show_comments = models.BooleanField()
+ show_comments = models.BooleanField(verbose_name = _('Show exercise comments'),
+ help_text=_('Check to show exercise comments on the workout view'))
def create_user_profile(sender, instance, created, **kwargs):
if created: