diff options
| author | David Wobrock <david.wobrock@gmail.com> | 2023-04-18 10:20:32 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-04-18 12:46:27 +0200 |
| commit | 8b1ff0da4b162e87edebd94e61f2cd153e9e159d (patch) | |
| tree | 537798f33a0a9458ea1c4728616ba207b3a44dac /docs | |
| parent | 9bbf97bcdb488bb11aebb5bd405549fbec6852cd (diff) | |
Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns() methods.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 8 | ||||
| -rw-r--r-- | docs/releases/5.0.txt | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 168a5572c6..bb35bd4805 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -24,6 +24,14 @@ details on these changes. * ``request`` will be required in the signature of ``ModelAdmin.lookup_allowed()`` subclasses. +* The ``django.db.models.sql.datastructures.Join`` will no longer fallback to + ``get_joining_columns()``. + +* The ``get_joining_columns()`` method of ``ForeignObject`` and + ``ForeignObjectRel`` will be removed. + +* The ``ForeignObject.get_reverse_joining_columns()`` method 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 934da1bba9..93f1e72b53 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -391,6 +391,14 @@ Miscellaneous Support for ``ModelAdmin`` subclasses that do not accept this argument is deprecated. +* The ``get_joining_columns()`` method of ``ForeignObject`` and + ``ForeignObjectRel`` is deprecated. Starting with Django 6.0, + ``django.db.models.sql.datastructures.Join`` will no longer fallback to + ``get_joining_columns()``. Subclasses should implement + ``get_joining_fields()`` instead. + +* The ``ForeignObject.get_reverse_joining_columns()`` method is deprecated. + Features removed in 5.0 ======================= |
