... ( #29229 ). Fixed a regression in Django 1.11 where an empty choice could be initially selected for the SelectMultiple and CheckboxSelectMultiple widgets ( #29273 ). ... ... idget ( years = BIRTH_YEAR_CHOICES ) ) favorite_colors = forms . MultipleChoiceField ( required = False , widget = forms . CheckboxSelectMultiple , choices = FAVORITE_COLORS_CHOICES , ) 使用可能なウィジェットとそれぞれの引数の詳細については、 ビルトインのウィジェット ... メソッドの結果は、モデルフォームのフィールドが デフォルトに逆戻りする かどうかに影響します。 特別なケースは CheckboxInput 、 CheckboxSelectMultiple 、そして SelectMultiple で、これらは常に False を返します。なぜなら、チェックされていないチェックボックスや選択されていない ... ング時にウィジェットが <fieldset> と <legend> でグループ化されるべきかを識別するための属性です。デフォルトは False ですが、 CheckboxSelectMultiple , RadioSelect , MultiWidget , SplitDateTimeWidget , SelectDateWidget のように複数の <input> タグを含むウィジェットの場合は ... ... stem check for URL patterns beginning with a '/' when APPEND_SLASH=False ( #27238 ). Fixed model form default fallback for CheckboxSelectMultiple , MultiWidget , FileInput , SplitDateTimeWidget , SelectDateWidget , and SplitArrayWidget ( #27186 ). Custom widgets affec ... ... ( #29229 ). Fixed a regression in Django 1.11 where an empty choice could be initially selected for the SelectMultiple and CheckboxSelectMultiple widgets ( #29273 ). Fixed a regression in Django 2.0 where OpenLayersWidget deserialization ignored the widget map's SRID ... ... ) of NumberInput work correctly ( #28303 ). Removed casting of the option value to a string in the template context of the CheckboxSelectMultiple , NullBooleanSelect , RadioSelect , SelectMultiple , and Select widgets ( #28176 ). In Django 1.11.1, casting was added in ... ... ry execution when cursor.execute() fails and the subsequent cursor.close() also fails ( #28091 ). Fixed a regression where CheckboxSelectMultiple , NullBooleanSelect , RadioSelect , SelectMultiple , and Select localized option values ( #28075 ). Corrected the stack le ... ... tPasswordHasher' . Moved wrap_label widget template context variable To fix the lack of <label> when using RadioSelect and CheckboxSelectMultiple with MultiWidget , the wrap_label context variable now appears as an attribute of each option. For example, in a custom in ... ... the undocumented django.db.migrations.state.ProjectState.__init__() method must now be a set if provided. RadioSelect and CheckboxSelectMultiple widgets are now rendered in <div> tags so they are announced more concisely by screen readers. If you need the previous be ... ... made in the 1.6.6, 1.5.9, and 1.4.14 security releases. フォーム The <label> and <input> tags rendered by RadioSelect and CheckboxSelectMultiple when looping over the radio buttons or checkboxes now include for and id attributes, respectively. Each radio button or ch ... ... のデータに表示されない場合、結果のモデルインスタンスはモデルフィールドの default を使用します。この動作は、 CheckboxInput , CheckboxSelectMultiple , または SelectMultiple (または value_omitted_from_data() メソッドが常に False を返すカスタムウィジェット) を使用するフィー ... 2026年10月08日