Skip to content

armgit / wger

Public Imported from GitHub
0

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.py
index 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 days
used_days = []
for day in workout.day_set.all():
for weekday in day.day.all():