1
0
mirror of https://github.com/django/django.git synced 2025-06-05 11:39:13 +00:00

[1.10.x] Inlined a note in docs/ref/models/expressions.txt.

Backport of 0d6c7cae7c4bc3ecd12c5a0d929384f3aa3e90d1 from master
This commit is contained in:
Tim Graham 2016-11-09 08:20:30 -05:00
parent 89d960121d
commit 3dc480fcd2

View File

@ -123,10 +123,7 @@ know about it - it is dealt with entirely by the database. All Python does,
through Django's ``F()`` class, is create the SQL syntax to refer to the field
and describe the operation.
.. note::
In order to access the new value that has been saved in this way, the object
will need to be reloaded::
To access the new value saved this way, the object must be reloaded::
reporter = Reporters.objects.get(pk=reporter.pk)
# Or, more succinctly: