#27291: Missing attribute:
CheckboxSelectMultiple.dont_use_model_field_default_for_empty_data = True
----------------------------+--------------------
     Reporter:  stephenmcd  |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  Forms       |    Version:  1.10
     Severity:  Normal      |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  0
----------------------------+--------------------
 This commit introduced the `dont_use_model_field_default_for_empty_data`
 attribute for controlling whether a widget should use default values when
 its not present in the HTTP request, and applied to the `CheckboxInput`
 since checkboxes don't send an empty value when unchecked:

 
https://github.com/django/django/commit/325dd0befea3012c42eefa061f509fbdf1b6a8aa

 The issue is that it was overlooked on the CheckboxSelectMultiple widget,
 which now uses a default value when all checkboxes are unchecked.

--
Ticket URL: <https://code.djangoproject.com/ticket/27291>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.05c2109d2f7430b7d88002d5dbf4b662%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to