Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.5.x] Fixed #19374 -- Typo in docs/ref/models/instances.txt.

Backport of eeaab08 from master.
  • Loading branch information...
commit 54ce0ff7ba2afbac6d0a18e282b336e0ddb8c3a6 1 parent ecf292a
Jason Yan authored claudep committed

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/ref/models/instances.txt
2  docs/ref/models/instances.txt
@@ -378,7 +378,7 @@ If ``save()`` is passed a list of field names in keyword argument
378 378
 ``update_fields``, only the fields named in that list will be updated.
379 379
 This may be desirable if you want to update just one or a few fields on
380 380
 an object. There will be a slight performance benefit from preventing
381  
-all of the model fields from being updated in the database. For example:
  381
+all of the model fields from being updated in the database. For example::
382 382
 
383 383
     product.name = 'Name changed again'
384 384
     product.save(update_fields=['name'])

0 notes on commit 54ce0ff

Please sign in to comment.
Something went wrong with that request. Please try again.