Author: julien Date: 2011-09-12 00:12:28 -0700 (Mon, 12 Sep 2011) New Revision: 16820
Modified: django/trunk/docs/ref/forms/fields.txt Log: Fixed #16291 -- Documented that TypedChoiceField does not coerce empty_value. Thanks to vanschelven and taavi223. Modified: django/trunk/docs/ref/forms/fields.txt =================================================================== --- django/trunk/docs/ref/forms/fields.txt 2011-09-11 23:02:53 UTC (rev 16819) +++ django/trunk/docs/ref/forms/fields.txt 2011-09-12 07:12:28 UTC (rev 16820) @@ -379,7 +379,9 @@ .. 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`` ~~~~~~~~~~~~~ -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.