mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
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.
This commit is contained in:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user