From 36de29200e1ea713c278f7672ab1790e1500c423 Mon Sep 17 00:00:00 2001 From: Anubhav Joshi Date: Tue, 8 Apr 2014 09:45:00 +0530 Subject: [PATCH] Fixed #22405 -- Fixed string error in models/queries docs. --- docs/ref/models/queries.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/queries.txt b/docs/ref/models/queries.txt index 1979c16d40fb4..1eab21c528ccf 100644 --- a/docs/ref/models/queries.txt +++ b/docs/ref/models/queries.txt @@ -70,7 +70,7 @@ the field value on multiple objects - which could be very much faster than pulling them all into Python from the database, looping over them, incrementing the field value of each one, and saving each one back to the database:: - Reporter.objects.all().update(stories_filed=F('stories_filed) + 1) + Reporter.objects.all().update(stories_filed=F('stories_filed') + 1) ``F()`` therefore can offer performance advantages by: