Fixed #25496 -- Made ModelChoiceField respect prefetch_related().

This commit is contained in:
Tim Graham 2015-10-05 18:21:56 -04:00
parent 9f2881deb1
commit 6afa6818fc
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`).