From bfb11b95626f39e2f5e18d97d7761c6f93dcc1a9 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Wed, 12 Nov 2014 21:18:11 +0100 Subject: Fixed #23795 -- Fixed a regression in custom form fields Custom form fields having a `queryset` attribute but no `limit_choices_to` could no longer be used in ModelForms. Refs #2445. Thanks to artscoop for the report. --- docs/releases/1.7.2.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.7.2.txt b/docs/releases/1.7.2.txt index 3d9a74616b..207b7d2a0c 100644 --- a/docs/releases/1.7.2.txt +++ b/docs/releases/1.7.2.txt @@ -52,3 +52,7 @@ Bugfixes * Fixed a migration serializing bug involving ``float("nan")`` and ``float("inf")`` (:ticket:23770:). + +* Fixed a regression where custom form fields having a ``queryset`` attribute + but no ``limit_choices_to`` could not be used in a + :class:`~django.forms.ModelForm` (:ticket:`23795`). -- cgit v1.3