diff options
| author | Peter Inglesby <peter.inglesby@gmail.com> | 2014-10-27 20:21:59 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-11-04 11:23:58 -0500 |
| commit | 74e1980cf96eb45079bef464fabdcbe0a6db2423 (patch) | |
| tree | 0541e693623c87c9789f1beb37d7f5831426c74b /docs/releases | |
| parent | e0685368c6b122404cf0817d5cb17ab1b211cf6d (diff) | |
Fixed #13181 -- Added support for callable choices to forms.ChoiceField
Thanks vanschelven and expleo for the initial patch.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.8.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index da2e5ae466..d5bae559a7 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -240,6 +240,9 @@ Forms will also update ``UploadedFile.content_type`` with the image's content type as determined by Pillow. +* You can now pass a callable that returns an iterable of choices when + instantiating a :class:`~django.forms.ChoiceField`. + Generic Views ^^^^^^^^^^^^^ |
