summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAnubhav Joshi <anubhav9042@gmail.com>2014-04-08 09:45:00 +0530
committerBaptiste Mispelon <bmispelon@gmail.com>2014-04-08 13:34:37 +0200
commit61b7fcf4783178e5212688d34449f8204e40082a (patch)
treeebb1e30835187fe779e8ad8aaee5aa8fcc4223a9 /docs/ref
parentc148d8e7301856c5a2251dd4916df4a9f96e285e (diff)
[1.7.x] Fixed #22405 -- Fixed string error in models/queries docs.
Backport of 36de29200e1ea713c278f7672ab1790e1500c423 from master.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/queries.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/queries.txt b/docs/ref/models/queries.txt
index 1979c16d40..1eab21c528 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: