1
0
mirror of https://github.com/django/django.git synced 2025-04-03 13:06:49 +00:00

[1.8.x] Fixed typo in docs/ref/models/expressions.txt

Backport of 800240cb1dda2c4ff7182df3566d744c6c377bf7 from master
This commit is contained in:
lampslave 2015-04-07 20:43:42 +03:00 committed by Tim Graham
parent 993074d78d
commit e2294b453c

View File

@ -130,7 +130,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: