summaryrefslogtreecommitdiff
path: root/docs
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:33:40 +0200
commit36de29200e1ea713c278f7672ab1790e1500c423 (patch)
tree460617775da67a6c85c8b1ffc889191f57945109 /docs
parentd6c9bdd8258fec4d0b4270903e95a42847796608 (diff)
Fixed #22405 -- Fixed string error in models/queries docs.
Diffstat (limited to 'docs')
-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: