added support for fractions

This commit is contained in:
vabene1111
2020-12-14 14:08:11 +01:00
parent 9863447bac
commit 7732aa7646
8 changed files with 118 additions and 22 deletions

View File

@ -202,6 +202,7 @@ def user_settings(request):
up.plan_share.set(form.cleaned_data['plan_share'])
up.ingredient_decimals = form.cleaned_data['ingredient_decimals']
up.comments = form.cleaned_data['comments']
up.use_fractions = form.cleaned_data['use_fractions']
up.shopping_auto_sync = form.cleaned_data['shopping_auto_sync']
if up.shopping_auto_sync < settings.SHOPPING_MIN_AUTOSYNC_INTERVAL: