Kaydet (Commit) eeaab083 authored tarafından Jason Yan's avatar Jason Yan

Fixed #19374 -- Typo in docs/ref/models/instances.txt.

üst 38055222
......@@ -378,7 +378,7 @@ If ``save()`` is passed a list of field names in keyword argument
``update_fields``, only the fields named in that list will be updated.
This may be desirable if you want to update just one or a few fields on
an object. There will be a slight performance benefit from preventing
all of the model fields from being updated in the database. For example:
all of the model fields from being updated in the database. For example::
product.name = 'Name changed again'
product.save(update_fields=['name'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment