summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorClifford Gama <cliffygamy@gmail.com>2025-11-10 19:11:28 +0200
committerGitHub <noreply@github.com>2025-11-10 14:11:28 -0300
commitc135be349ddd9fd71b15d4b20e7fc46814e4ca7c (patch)
tree446817450cc2f368c26ff3f2d8b01da737a43029 /docs
parenta4f76741340fb23566795e83f830a3f2d49acce0 (diff)
Clarified "get_db_prep_value" default result in docs/ref/models/fields.txt.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/fields.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 4e515d428e..649073b708 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -2523,8 +2523,8 @@ Field API reference
.. method:: get_db_prep_value(value, connection, prepared=False)
Converts ``value`` to a backend-specific value. By default it returns
- ``value`` if ``prepared=True`` and :meth:`~Field.get_prep_value` if is
- ``False``.
+ ``value`` if ``prepared=True``, and :meth:`get_prep_value(value)
+ <Field.get_prep_value>` otherwise.
See :ref:`converting-query-values-to-database-values` for usage.