Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix superset bug
Roland Geiderc10cad51fa14
diff --git a/wger/manager/forms.py b/wger/manager/forms.pyindex a0c62a22b..a3ff5af1d 100644--- a/wger/manager/forms.py+++ b/wger/manager/forms.py@@ -18,7 +18,7 @@This file contains forms used in the application'''-from django.forms import Form+from django.forms import Form, MultipleHiddenInputfrom django.forms import ModelFormfrom django.forms import DateFieldfrom django.forms import CharField@@ -85,8 +85,13 @@ class SetForm(ModelForm):class SetFormMobile(ModelForm):'''- Don't use the autocompleter when accessing the mobile version+ Don't use the auto completer when accessing the mobile version'''+ class Meta:+ model = Set+ exclude = ('order', 'exerciseday')+ widgets = {'exercises': MultipleHiddenInput(), }+categories_list = ModelChoiceField(ExerciseCategory.objects,empty_label=_('All categories'),label=_('Categories'),@@ -94,10 +99,6 @@ class SetFormMobile(ModelForm):required=False)exercise_list = ModelChoiceField(Exercise.objects)- class Meta:- model = Set- exclude = ('order', 'exerciseday')-# We need to overwrite the init method here because otherwise Django# will output a default help text, regardless of the widget used# https://code.djangoproject.com/ticket/9321diff --git a/wger/software/templates/changelog.html b/wger/software/templates/changelog.htmlindex 17b220d94..ce68a1a70 100644--- a/wger/software/templates/changelog.html+++ b/wger/software/templates/changelog.html@@ -15,6 +15,10 @@Use hostname for submitted exercises<a href="https://github.com/rolandgeider/wger/issues/159">#159</a></li>+ <li>+ Other improvements and bugfixes+ <a href="https://github.com/rolandgeider/wger/issues/178">#179</a>+ </li></ul>