diff options
| author | Jason Yan <tailofthesun@gmail.com> | 2012-11-27 18:57:50 -0800 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-11-28 09:28:21 +0100 |
| commit | 54ce0ff7ba2afbac6d0a18e282b336e0ddb8c3a6 (patch) | |
| tree | 307f238771fc65afe9ecc4e0cc0571084d2c39c7 /docs/ref | |
| parent | ecf292aa2c89935bbc243d29ead3e01f1380e246 (diff) | |
[1.5.x] Fixed #19374 -- Typo in docs/ref/models/instances.txt.
Backport of eeaab083f from master.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/instances.txt | 2 |
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']) |
