Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…y_value. Thanks to vanschelven and taavi223.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4e47df9de20ab12070fcb92ef2176ece7847e5f5 1 parent 9fe050a
Julien Phalip jphalip authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/ref/forms/fields.txt
4 docs/ref/forms/fields.txt
View
@@ -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.
``DateField``
~~~~~~~~~~~~~
Please sign in to comment.
Something went wrong with that request. Please try again.