Tech Insights· docs.djangoproject.com
You can pass a update_fields param to the model save method. One interesting use for this is to avoid updating dates in time stamped models.
product.name = 'Name changed again'
product.save(update_fields=['name'])Shared by
- Django



