diff options
| author | Shrikrishna Singh <krishnasingh.ss30@gmail.com> | 2020-03-09 12:24:25 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-09 07:54:25 +0100 |
| commit | 370628673b98ada302c3930865c4bfde2d8ed5a1 (patch) | |
| tree | e5ede0f5c038c0e931e9a5aa0466803ad17752f7 /docs | |
| parent | 9358da704ea9ba55f22df912e47b54eb85d5c97e (diff) | |
Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/db/optimization.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/optimization.txt b/docs/topics/db/optimization.txt index 123670302f..e98d1c1e28 100644 --- a/docs/topics/db/optimization.txt +++ b/docs/topics/db/optimization.txt @@ -386,9 +386,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 |
