1
0
mirror of https://github.com/django/django.git synced 2025-03-12 18:30:48 +00:00

[5.2.x] Clarified admonition in GeneratedField docs.

Backport of 43766c70bd2939771b7f37104866316faa34606b from main.
This commit is contained in:
Adam Zapletal 2025-02-19 09:44:44 -06:00 committed by Sarah Boyce
parent 43aa6990ac
commit baea0f644e

View File

@ -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