mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[1.6.x] Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
Regression introduced by commit9777442. Refs #21410. Conflicts: tests/prefetch_related/tests.py Backport ofd3b71b976dfrom master
This commit is contained in:
@@ -67,5 +67,9 @@ Other bugfixes and changes
|
||||
* Fixed :djadmin:`changepassword` on Windows
|
||||
(`#22364 <https://code.djangoproject.com/ticket/22364>`_).
|
||||
|
||||
* Fixed regression in ``prefetch_related`` that caused the related objects
|
||||
query to include an unnecessary join
|
||||
(`#21760 <https://code.djangoproject.com/ticket/21760>`_).
|
||||
|
||||
Additionally, Django's vendored version of six, :mod:`django.utils.six` has been
|
||||
upgraded to the latest release (1.6.1).
|
||||
|
||||
Reference in New Issue
Block a user