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...
1 parent 9fe050a commit 4e47df9de20ab12070fcb92ef2176ece7847e5f5 @jphalip jphalip committed Sep 12, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 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.