Skip to content

Commit

Permalink
Fixed #22405 -- Fixed string error in models/queries docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
coder9042 authored and bmispelon committed Apr 8, 2014
1 parent d6c9bdd commit 36de292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/models/queries.txt
Expand Up @@ -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 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:: 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: ``F()`` therefore can offer performance advantages by:


Expand Down

0 comments on commit 36de292

Please sign in to comment.