Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add validators to weight reminder value
Roland Geider951a6c351798
diff --git a/wger/core/models.py b/wger/core/models.pyindex 4445b04e5..8e15a2b8d 100644--- a/wger/core/models.py+++ b/wger/core/models.py@@ -308,6 +308,8 @@ by the US Department of Agriculture. It is extremely complete, with aroundhelp_text=_('Number of days after the last ''weight entry (enter 0 to ''deactivate)'),+ validators=[MinValueValidator(0),+ MaxValueValidator(30)],max_length=30,default=0)'''Number of Days for email weight reminder'''