Hi all,

The issue #16855 [1] tracks some unexpected behaviour in the chaining of 
`Queryset.select_related`. It's been proving rather complex to get a patch 
for this which works, mainly because of the complexity added by the depth 
argument. It has been proposed (by Luke Plant) that depth be deprecated 
(and +1d by several other users and a core dev). With this in mind, I 
propose that we put the kwarg on the deprecation path adding the warning in 
1.5 (so the bug can eventually be fixed in 1.7). As it changes no 
functionality in this release, I don't see any reason to hold this for 1.6 
(and thereby delay the fix until 1.8).

If anyone has any major objections to the deprecation of depth, you should 
shout now. If there are no objections and people think it's ok to push this 
deprecation in now, then I'll get a patch done on Monday.

Thanks,
Marc


[1] https://code.djangoproject.com/ticket/16855

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/bC-65slJ8gwJ.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to