summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/releases/5.0.txt5
2 files changed, 7 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index c9a8b05637..98b027cd1a 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -40,6 +40,8 @@ details on these changes.
* Support for ``cx_Oracle`` will be removed.
+* ``BaseDatabaseOperations.field_cast_sql()`` will be removed.
+
.. _deprecation-removed-in-5.1:
5.1
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index cae3668bfc..28814f141f 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -663,6 +663,11 @@ Miscellaneous
* Support for ``cx_Oracle`` is deprecated in favor of `oracledb`_ 1.3.2+ Python
driver.
+* ``DatabaseOperations.field_cast_sql()`` is deprecated in favor of
+ ``DatabaseOperations.lookup_cast()``. Starting with Django 6.0,
+ ``BuiltinLookup.process_lhs()`` will no longer call ``field_cast_sql()``.
+ Third-party database backends should implement ``lookup_cast()`` instead.
+
.. _`oracledb`: https://oracle.github.io/python-oracledb/
Features removed in 5.0