Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Increase allowed maximum value for repetitions

Roland Geiderc22a7b5023b5
diff --git a/wger/manager/models.py b/wger/manager/models.py
index fcbcfd450..c9025ee82 100644
--- a/wger/manager/models.py
+++ b/wger/manager/models.py
@@ -587,7 +587,7 @@ class Setting(models.Model):
The repetition unit of a set. This can be e.g. a repetition, a minute, etc.
'''
- reps = models.IntegerField(validators=[MinValueValidator(0), MaxValueValidator(100)],
+ reps = models.IntegerField(validators=[MinValueValidator(0), MaxValueValidator(600)],
verbose_name=_('Amount'))
'''
Amount of repetitions, minutes, etc. for a set.