From e2294b453c66007ed4ad8e25dbd40715384cd1e0 Mon Sep 17 00:00:00 2001 From: lampslave Date: Tue, 7 Apr 2015 20:43:42 +0300 Subject: [PATCH] [1.8.x] Fixed typo in docs/ref/models/expressions.txt Backport of 800240cb1dda2c4ff7182df3566d744c6c377bf7 from master --- docs/ref/models/expressions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index e7e4f94508..f74c4f2051 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -130,7 +130,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: