Django has a way to only save a couple of attibutes of the model (the update_fields paramter on save method).
This PR updates the BaseModel.update method to use save(update_fields=...) while allowing the use of the previous way to avoid calling the save method. This method is now useful to set and store an attribute in a single line.
Django has a way to only save a couple of attibutes of the model (the update_fields paramter on save method).
This PR updates the BaseModel.update method to use save(update_fields=...) while allowing the use of the previous way to avoid calling the save method. This method is now useful to set and store an attribute in a single line.