mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Deprecated depth kwarg on select_related.
This is the start of a deprecation path for the depth kwarg on select_related. Removing this will allow us to update select_related so it chains properly and have an API similar to prefetch_related. Thanks to Marc Tamlyn for spearheading and initial patch. refs #16855
This commit is contained in:
parent
7b57a72d6d
commit
965cc0b1ff
4 changed files with 30 additions and 14 deletions
|
@ -298,6 +298,9 @@ these changes.
|
|||
|
||||
* The ``daily_cleanup.py`` script will be removed.
|
||||
|
||||
* The ``depth`` keyword argument will be removed from
|
||||
:meth:`~django.db.models.query.QuerySet.select_related`.
|
||||
|
||||
2.0
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue