From 300bd064c14c5a57896343093f97aaa6f3919f5f Mon Sep 17 00:00:00 2001 From: Shrikrishna Singh Date: Mon, 9 Mar 2020 12:24:25 +0530 Subject: [PATCH] [3.0.x] Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt. Backport of 370628673b98ada302c3930865c4bfde2d8ed5a1 from master --- docs/topics/db/optimization.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/db/optimization.txt b/docs/topics/db/optimization.txt index d56a55960d..df14c8d9fa 100644 --- a/docs/topics/db/optimization.txt +++ b/docs/topics/db/optimization.txt @@ -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 `, so make sure it's appropriate