1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.5.x] 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:
Preston Holmes
2012-11-02 15:49:29 +00:00
parent 75fb8f433f
commit 0131da0622
4 changed files with 30 additions and 14 deletions

View File

@@ -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
---