Skip to content

Commit

Permalink
[3.0.x] Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.
Browse files Browse the repository at this point in the history
Backport of 3706286 from master
  • Loading branch information
sks444 authored and felixxm committed Mar 9, 2020
1 parent cc20699 commit 300bd06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/topics/db/optimization.txt
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,9 @@ The following example::
...is preferable to::

entries[0].headline = 'This is not a test'
entries.save()
entries[0].save()
entries[1].headline = 'This is no longer a test'
entries.save()
entries[1].save()

Note that there are a number of :meth:`caveats to this method
<django.db.models.query.QuerySet.bulk_update>`, so make sure it's appropriate
Expand Down

0 comments on commit 300bd06

Please sign in to comment.