Self hosted FLOSS fitness/workout, nutrition and weight tracker
Don't require the start date for a nutritional plan
Roland Geiderd758aed0def2
diff --git a/wger/nutrition/models/plan.py b/wger/nutrition/models/plan.pyindex e81c60dcf..99e793449 100644--- a/wger/nutrition/models/plan.py+++ b/wger/nutrition/models/plan.py@@ -31,7 +31,6 @@ from wger.nutrition.helpers import NutritionalValuesfrom wger.utils.cache import cache_mapperfrom wger.weight.models import WeightEntry-logger = logging.getLogger(__name__)@@ -61,6 +60,7 @@ class NutritionPlan(models.Model):start = models.DateField(_('Start date'),+ blank=True,default=datetime.date.today,)