[Fixed]-Update Field With Another Field Value Dynamically in Django

1👍

“Django should show the total amount the user will pay in the amount_to_pay field before saving”

This not the goal of django to update client view. You pre_save method don’t update template.

If you want inform user about the amount_to_pay, you need to do it with Javascript, on client side.

Leave a comment