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 `, so make sure it's appropriate