summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorlampslave <lampslave@gmail.com>2015-04-07 20:43:42 +0300
committerTim Graham <timograham@gmail.com>2015-04-07 13:58:39 -0400
commit800240cb1dda2c4ff7182df3566d744c6c377bf7 (patch)
tree97a8144c1ee381116732e8ba7fd4310e6cbffe24 /docs/ref/models
parent981e3b9394022810bd536474344e2f91c190b858 (diff)
Fixed typo in docs/ref/models/expressions.txt
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/expressions.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt
index b3d2e8b8c0..b1803275fa 100644
--- a/docs/ref/models/expressions.txt
+++ b/docs/ref/models/expressions.txt
@@ -126,7 +126,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: