Self hosted FLOSS fitness/workout, nutrition and weight tracker
Correct comments, it's actually used days
Roland Geider33b64377aa15
diff --git a/manager/views.py b/manager/views.pyindex 36a19487d..bda4ad358 100644--- a/manager/views.py+++ b/manager/views.py@@ -526,7 +526,7 @@ def edit_day(request, id, day_id=None):workout = get_object_or_404(TrainingSchedule, pk=id, user=request.user)template_data['workout'] = workout- # Calculate the free days+ # Calculate the used daysused_days = []for day in workout.day_set.all():for weekday in day.day.all():