To update (and save) the field on an object you do:
>>> product = Product.objects.get(name='Venezuelan Beaver Cheese')
>>> product.number_sold = 4
>>> product.save()
Is there a way to compress the last two lines into a single line, like:
product.update(number_sold=4)
Yup.
If you have a model instance you changed and want to save only specific fields to the database, do that: