Add KJ user preference

This commit is contained in:
xeals
2021-10-25 17:25:35 +11:00
parent e33daf7b3e
commit b1b770c9e5
5 changed files with 25 additions and 2 deletions

View File

@@ -307,6 +307,7 @@ def user_settings(request):
up.ingredient_decimals = form.cleaned_data['ingredient_decimals'] # noqa: E501
up.comments = form.cleaned_data['comments']
up.use_fractions = form.cleaned_data['use_fractions']
up.use_kj = form.cleaned_data['use_kj']
up.sticky_navbar = form.cleaned_data['sticky_navbar']
up.shopping_auto_sync = form.cleaned_data['shopping_auto_sync']