ingredient rounding upgrades

This commit is contained in:
vabene1111
2020-06-11 22:32:45 +02:00
parent 8cc0fcaed2
commit 8ff52f542e
6 changed files with 54 additions and 8 deletions

View File

@ -214,6 +214,7 @@ def user_settings(request):
up.show_recent = form.cleaned_data['show_recent']
up.search_style = form.cleaned_data['search_style']
up.plan_share.set(form.cleaned_data['plan_share'])
up.ingredient_decimals = form.cleaned_data['ingredient_decimals']
up.save()
if 'user_name_form' in request.POST: