1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.9.x] Fixed #25496 -- Made ModelChoiceField respect prefetch_related().

Backport of 6afa6818fc from master
This commit is contained in:
Tim Graham
2015-10-05 18:21:56 -04:00
parent 3429dfe11d
commit 6bc8bdf55a
3 changed files with 28 additions and 2 deletions

View File

@@ -9,4 +9,5 @@ Django 1.8.6 fixes several bugs in 1.8.5.
Bugfixes
========
* ...
* Fixed a regression causing ``ModelChoiceField`` to ignore
``prefetch_related()`` on its queryset (:ticket:`25496`).