Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Change order of fields

Roland Geider41b0dbaa1d7d
diff --git a/wger/manager/views/set.py b/wger/manager/views/set.py
index 09dda93bd..851ed25fc 100644
--- a/wger/manager/views/set.py
+++ b/wger/manager/views/set.py
@@ -44,7 +44,7 @@ logger = logging.getLogger(__name__)
# ************************
# Set functions
# ************************
-SETTING_FORMSET_FIELDS = ('reps', 'weight', 'unit')
+SETTING_FORMSET_FIELDS = ('reps', 'unit', 'weight')
SettingFormset = modelformset_factory(Setting,
form=SettingForm,