mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[5.2.x] Clarified admonition in GeneratedField docs.
Backport of 43766c70bd from main.
This commit is contained in:
committed by
Sarah Boyce
parent
43aa6990ac
commit
baea0f644e
@@ -1315,8 +1315,8 @@ materialized view.
|
|||||||
|
|
||||||
.. admonition:: Refresh the data
|
.. admonition:: Refresh the data
|
||||||
|
|
||||||
Since the database always computed the value, the object must be reloaded
|
Since the database computes the value, the object must be reloaded to
|
||||||
to access the new value after :meth:`~Model.save()`, for example, by using
|
access the new value after :meth:`~Model.save()`, for example, by using
|
||||||
:meth:`~Model.refresh_from_db()`.
|
:meth:`~Model.refresh_from_db()`.
|
||||||
|
|
||||||
.. admonition:: Database limitations
|
.. admonition:: Database limitations
|
||||||
|
|||||||
Reference in New Issue
Block a user