diff options
| author | Tim Graham <timograham@gmail.com> | 2016-09-30 14:49:50 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-30 14:50:15 -0400 |
| commit | f23c03ebc81c64b8b41f3aae0dbe93fc283cc43d (patch) | |
| tree | d6d9afa244a745ff7ebe0267abf0ba67ef593f8d /docs/ref | |
| parent | fb9f3962756ed80ec8ecec8ec2095ee6bca49efd (diff) | |
[1.10.x] Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.
Backport of 87c5e7efebd040aef0f0479ccf86877155bb5cea from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index fde7806b02..443b12cce0 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -281,10 +281,11 @@ foundation for custom widgets. The method's result affects whether or not a field in a model form :ref:`falls back to its default <topics-modelform-save>`. - A special case is :class:`~django.forms.CheckboxInput`, which always - returns ``False`` because an unchecked checkbox doesn't appear in the - data of an HTML form submission, so it's unknown whether or not the - user actually submitted a value. + Special cases are :class:`~django.forms.CheckboxInput` and + :class:`~django.forms.CheckboxSelectMultiple`, which always return + ``False`` because an unchecked checkbox doesn't appear in the data of + an HTML form submission, so it's unknown whether or not the user + actually submitted a value. ``MultiWidget`` --------------- |
