标签: django django-views
我正在尝试在views.py上添加两个数字,但它不起作用请告诉我更正
new_bal = request.POST.get('wallet_bal') old_bal = request.POST.get('old_bal') update_bal = int(new_bal + old_bal ) wallet.balance = update_bal