summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-11-28 00:27:03 -0800
committerClaude Paroz <claude@2xlibre.net>2012-11-28 00:27:03 -0800
commit2a0e4c249f30ef591c8b1ca36e9e1f38bf3395b4 (patch)
treefe4992a224312a6bec3e8cfb42cd9b01b4351352 /docs
parent38055222bd4f56bac6ae0f7a53c07bf924967daf (diff)
parenteeaab083fe3dd75eb7ff618d552a7752795b5ebc (diff)
Merge pull request #559 from tail/ticket_19374
Fixed #19374 -- Typo in docs/ref/models/instances.txt.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/instances.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 9f2e007268..6315985ba9 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -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'])