Skip to content
Advertisement

Value does not change in admin dashboard and html template, view function shows the correct one

Value does not change in admin dahboard and html template that has a tag of the value, inrthe view function where the change happens,it print the correct value that was changed (order.status)

JavaScript

Advertisement

Answer

JavaScript

This returns an instance object of the database record. However, it’s not the record itself. When you update the field on the instance, you need to save it back to the database.

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement