Self hosted FLOSS fitness/workout, nutrition and weight tracker
The field 'amount_gramm' is always required
Roland Geider419681328ff1
diff --git a/wger/nutrition/models.py b/wger/nutrition/models.pyindex 598cae798..5acdc987f 100644--- a/wger/nutrition/models.py+++ b/wger/nutrition/models.py@@ -281,7 +281,6 @@ class MealItem(models.Model):order = models.IntegerField(max_length=1, blank=True, verbose_name=_('Order'))amount_gramm = models.IntegerField(max_length=4,- blank=True,validators=[MaxValueValidator(1000)],verbose_name=_('Amount in gramms'))