mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns() methods.
This commit is contained in:
committed by
Mariusz Felisiak
parent
9bbf97bcdb
commit
8b1ff0da4b
@@ -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
|
||||
|
||||
@@ -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
|
||||
=======================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user