summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-06-28 20:30:19 -0700
committerTim Graham <timograham@gmail.com>2017-06-30 21:28:47 -0400
commit8641489f4dffdeff0897d7d715d02a50ff0b23cf (patch)
treec7c80a252fe4af689def4bdc9ea1ce9e0cd25f17 /docs
parentc1621d80089cb3e77c8a504310feeb24fea61afe (diff)
[1.11.x] Fixed #28345 -- Applied limit_choices_to during ModelForm.__init__().
field_for_model() now has an additional keyword argument, apply_limit_choices_to, allowing it to continue to be used to create form fields dynamically after ModelForm.__init__() is called. Thanks Tim Graham for the review. Backport of a1be12fe193c8f3de8a0b0820f460a302472375f from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.11.3.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/1.11.3.txt b/docs/releases/1.11.3.txt
index 227c94abb4..79fd3edb6a 100644
--- a/docs/releases/1.11.3.txt
+++ b/docs/releases/1.11.3.txt
@@ -57,3 +57,6 @@ Bugfixes
* Fixed ``UnboundLocalError`` crash in ``RenameField`` with nonexistent field
(:ticket:`28350`).
+
+* Fixed a regression preventing a model field's ``limit_choices_to`` from being
+ evaluated when a ``ModelForm`` is instantiated (:ticket:`28345`).