Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Correctly exclude the exercise from the workout log form

Roland Geider6259eb008277
diff --git a/wger/manager/forms.py b/wger/manager/forms.py
index 8fd522009..df2278f74 100644
--- a/wger/manager/forms.py
+++ b/wger/manager/forms.py
@@ -177,4 +177,4 @@ class WorkoutLogForm(ModelForm):
class Meta:
model = WorkoutLog
- exclude = ('exercise')
+ exclude = ('exercise', )