Skip to content
Browse files

[1.7.x] Fixed #22405 -- Fixed string error in models/queries docs.

Backport of 36de292 from master.
  • Loading branch information...
1 parent c148d8e commit 61b7fcf4783178e5212688d34449f8204e40082a @coder9042 coder9042 committed with bmispelon
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/models/queries.txt
2  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:

0 comments on commit 61b7fcf

Please sign in to comment.
Something went wrong with that request. Please try again.