per page, with , order by , clip by
Results of 1 - 10 of about 12 for checkbox (0.008 sec.)
Django 1.11.4 リリースノート 13088
Django 1.11.4 リリースノート August 1, 2017 Django 1.11.4 fixes several bugs in 1.11.3. バグ修正 Fixed a regression in 1.11.3 on Python 2 where non-ASCII format values for date/time widgets results in an empty value in the widget's HTML ( # ... tiWidget ( #28414 ). Custom clearable_file_input.html widget templates will need to adapt for the fact that context values checkbox_name , checkbox_id , is_initial , input_text , initial_text , and clear_checkbox_label are now attributes of widget rather ...
https://man.mtool.work/django/6.1/releases/1.11.4.html
フォーム API 11673
フォーム API このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームについての概要 を読むことをおすすめします。 バインドされた (bound) フォームとバインドされていない ... ntact_email" maxlength="320" required id="id_contact_email"></div> <div><label for="id_urgent">Urgent:</label><input type="checkbox" name="urgent" id="id_urgent"></div> フォームがデータにバインドされている場合、HTMLの出力にはそのデータが適切に含まれます。 ... たとえば、フィールドが <input type="text"> で表される場合、データは value 属性に含まれます。フィールドが <input type="checkbox"> で表される場合、HTMLには必要に応じて checked が含まれます。 >>> data = { ... "subject" : "hello" , ... "message" : "Hi t ... example.com" maxlength="320" required id="id_contact_email"></div> <div><label for="id_urgent">Urgent:</label><input type="checkbox" name="urgent" id="id_urgent" checked></div> このデフォルトの出力は、各フィールドを <div> で囲みます。以下の点に注意してく ...
https://man.mtool.work/django/6.1/ref/forms/api.html
ウィジェット 9781
ウィジェット ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致する GET/POST ディクショナリからデータを取り出します。 Built-in widgets によって作られる HTML ... 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> タグを含むウィジ ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
Django 1.10.6 リリースノート 9480
Django 1.10.6 リリースノート March 1, 2017 Django 1.10.6 fixes several bugs in 1.10.5. バグ修正 Fixed ClearableFileInput 's "Clear" checkbox on model form fields where the model field has a default ( #27805 ). Fixed RequestDataTooBig and To ...
https://man.mtool.work/django/6.1/releases/1.10.6.html
Django 5.0.8 リリースノート 8224
Django 5.0.8 リリースノート 2024年8月6日 Django 5.0.8 では、5.0.7 におけるセキュリティの問題のうち深刻度 "high" 1件、深刻度 "moderate" 3件を含め、 いくつかのバグを修正しました。 CVE-2024-41989: django.utils.numberformat.floatformat() におけ ... xpressions と共に使用する際にバリデーションが欠落していたため、追加しました ( #35594 )。 Django 5.0 で、 ModelAdmin.action_checkbox が __html__ メソッドを持つモデルインスタンスをレンダリングする際に、管理画面のチェンジリストHTMLページが壊れる可能性があっ ...
https://man.mtool.work/django/6.1/releases/5.0.8.html
Django 1.3 リリースノート 8065
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... ield Django 1.3 now includes a ClearableFileInput form widget in addition to FileInput . ClearableFileInput renders with a checkbox to clear the field's value (if the field has a value and is not required); FileInput provided no means for clearing an exi ... ield , so existing forms including FileField without assigning a custom widget will need to account for the possible extra checkbox in the rendered form output. To return to the previous rendering (without the ability to clear the FileField ), use the Fi ...
https://man.mtool.work/django/6.1/releases/1.3.html
フォームセット (Formset) 8065
フォームセット (Formset) class BaseFormSet [ソース] フォームセットは、同じページで複数のフォームを扱うための抽象レイヤーです。データグリッドに例えるとわかりやすいでしょう。次のようなフォームがあるとしましょう: >>> from django import forms > ... pub_date" value="2008-05-10" id="id_form-0-pub_date"></div> <div><label for="id_form-0-DELETE">Delete:</label><input type="checkbox" name="form-0-DELETE" id="id_form-0-DELETE"></div> <div><label for="id_form-1-title">Title:</label><input type="text" name ... pub_date" value="2008-05-11" id="id_form-1-pub_date"></div> <div><label for="id_form-1-DELETE">Delete:</label><input type="checkbox" name="form-1-DELETE" id="id_form-1-DELETE"></div> <div><label for="id_form-2-title">Title:</label><input type="text" name ... text" name="form-2-pub_date" id="id_form-2-pub_date"></div> <div><label for="id_form-2-DELETE">Delete:</label><input type="checkbox" name="form-2-DELETE" id="id_form-2-DELETE"></div> can_order と同様に、各フォームに DELETE という名前の新しいフィールドが追 ...
https://man.mtool.work/django/6.1/topics/forms/formsets.html
Django 3.1 リリースノート 7588
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... , and RequestContext in django.template.base are removed. The compatibility import of django.contrib.admin.helpers.ACTION_CHECKBOX_NAME in django.contrib.admin is removed. The STATIC_URL and MEDIA_URL settings set to relative paths are now prefixed by t ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 4.0 リリースノート 7588
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... language. ジェネリックビュー (汎用ビュー) DeleteView now uses FormMixin , allowing you to provide a Form subclass, with a checkbox for example, to confirm deletion. In addition, this allows DeleteView to function with django.contrib.messages.views.Succe ... 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 t ...
https://man.mtool.work/django/6.1/releases/4.0.html
テストツール 7588
テストツール Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecosystem. There are testing and fixtures solutions highlighted on the Community Ecosystem page. T ... ello <b>&#x27;world&#x27;!</p>" , """<p> Hello <b>&#39;world&#39;! </b> </p>""" , ) self . assertHTMLEqual ( '<input type="checkbox" checked="checked" id="id_accept_terms" />' , '<input id="id_accept_terms" type="checkbox" checked>' , ) html1 と html2 は ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
PREV 1 2 NEXT