diff options
| author | David Smith <smithdc@gmail.com> | 2023-08-18 14:16:57 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-08-31 06:18:07 +0200 |
| commit | 27b399d23531541d091886f683991e321c8fa314 (patch) | |
| tree | 468439e4efdd26e6d78609b61ed872ceabfb1380 /docs | |
| parent | 500e01073adda32d5149624ee9a5cb7aa3d3583f (diff) | |
Fixed #34547 -- Deprecated DatabaseOperations.field_cast_sql().
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 2 | ||||
| -rw-r--r-- | docs/releases/5.0.txt | 5 |
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 |
