Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #16291 -- Documented that TypedChoiceField does not coerce empt…

…y_value. Thanks to vanschelven and taavi223.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4e47df9de20ab12070fcb92ef2176ece7847e5f5 1 parent 9fe050a
@jphalip jphalip authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/ref/forms/fields.txt
4 docs/ref/forms/fields.txt
@@ -379,7 +379,9 @@ Takes extra arguments:
.. attribute:: TypedChoiceField.empty_value
The value to use to represent "empty." Defaults to the empty string;
- ``None`` is another common choice here.
+ ``None`` is another common choice here. Note that this value will not be
+ coerced by the function given in the ``coerce`` argument, so choose it
+ accordingly.

0 comments on commit 4e47df9

Please sign in to comment.
Something went wrong with that request. Please try again.