per page, with , order by , clip by
Results of 1 - 10 of about 15 for BoundField (0.008 sec.)
フォーム API 15047
フォーム API このドキュメントについて このドキュメントでは、Django のフォーム API の詳細について説明します。このドキュメントを読む前に フォームについての概要 を読むことをおすすめします。 バインドされた (bound) フォームとバインドされていない ... initial から取得し、それ以外の場合は Field.initial を参照します。呼び出し可能な値は評価されます。 It is recommended to use BoundField.initial over get_initial_for_field() because BoundField.initial has a simpler interface. Also, unlike get_initial_for_fiel ... d() , BoundField.initial caches its values. This is useful especially when dealing with callables whose return values can change (e.g. date ... t_initial_for_field ( f . fields [ "identifier" ], "identifier" ) UUID('1b411fab-844e-4dec-bd4f-e9b0495f04d0') >>> # Using BoundField.initial, for comparison >>> f [ "identifier" ] . initial UUID('28a09c59-5f00-4ed9-9179-a3b074fa9c30') >>> f [ "identifier" ...
https://man.mtool.work/django/6.1/ref/forms/api.html
索引 9334
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... l のメソッド) aremove() (RelatedManager のメソッド) arg_joiner (Func の属性) args (ResolverMatch の属性) aria_describedby (BoundField の属性) arity (Func の属性) ArrayAgg (django.contrib.postgres.aggregates のクラス) ArrayField (django.contrib.postgres.fie ... () (Field のメソッド) as_div() (BaseFormSet のメソッド) (Form のメソッド) as_double() (Field のメソッド) as_field_group() (BoundField のメソッド) as_hidden() (BoundField のメソッド) as_int() (Field のメソッド) as_json() (Form.errors のメソッド) as_manager( ... ッド) as_vendorname() (django.db.models モジュール) as_view() (django.views.generic.base.View のクラスメソッド) as_widget() (BoundField のメソッド) asave() (Model のメソッド) asc() (Expression のメソッド) asend() (Signal のメソッド) asend_robust() (Signal の ...
https://man.mtool.work/django/6.1/genindex.html
Django 5.2 リリースノート 8864
Django 5.2 リリースノート 2025年4月2日 Django 5.2 へようこそ! このリリースノートでは、 バージョン 5.2 の新機能 と、Django 5.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... ) version = models . IntegerField () name = models . CharField ( max_length = 20 ) 詳細は 複合主キー を参照してください。 BoundField のオーバーライドの簡素化 Prior to version 5.2, overriding Field.get_bound_field() was the only option to use a custom Boun ... nderer.bound_field_class フォーム層で Form.bound_field_class フィールド層で Field.bound_field_class 例えば、 Form クラスの BoundField をカスタマイズするには、下記のように実装します。 from django import forms class CustomBoundField ( forms . BoundField ): c ... ult += f " { self . custom_class } " return result . strip () class CustomForm ( forms . Form ): bound_field_class = CustomBoundField name = forms . CharField ( label = "Your Name" , max_length = 100 , required = False , widget = forms . TextInput ( attrs ...
https://man.mtool.work/django/6.1/releases/5.2.html
フォームレンダリング API 8673
フォームレンダリング API Djangoのフォームウィジェットは、Djangoの テンプレートエンジンシステム を使用してレンダリングされます。 フォームのレンダリングプロセスは、いくつかのレベルでカスタマイズできます: ウィジェットはカスタムテンプレート名を ... に使用するテンプレートのデフォルト名。 デフォルトは "django/forms/formsets/div.html" テンプレートです。 field_template_name BoundField をレンダリングするために使用されるテンプレートのデフォルト名。 デフォルトは "django/forms/field.html" です。 bound_field_c ... lass プロジェクト全体でフォームフィールドを表現するために使用されるデフォルトのクラスです。 BoundField クラスのデフォルト。 このデフォルトクラスは、フォームごとに Form.bound_field_class を、フィールドごとに Field.bound_field_ ... ィールド関連または非表示フィールド関連の全エラー。 フィールドテンプレートで利用可能なコンテキスト フィールドテンプレートは、 BoundField.get_context() からコンテキストを受け取ります。デフォルトでは、フィールドは以下の値を含む辞書を受け取ります: field : BoundF ...
https://man.mtool.work/django/6.1/ref/forms/renderers.html
Django 3.1 リリースノート 8255
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... a datetime value. MultiWidget.widgets now accepts a dictionary which allows customizing subwidget name attributes. The new BoundField.widget_type property can be used to dynamically adjust form rendering based upon the widget type. 国際化 (internationaliza ... xist in django.db.models.fields is removed. The compatibility imports of django.forms.utils.pretty_name() and django.forms.boundfield.BoundField in django.forms.forms are removed. The compatibility imports of Context , ContextPopException , and RequestCont ...
https://man.mtool.work/django/6.1/releases/3.1.html
フォーム フィールド 8202
フォーム フィールド class Field [ソース] Form クラスを作成時の一番重要な部分は、form のフィールド (field) の定義です。各フィールドにはカスタムの検証ロジックがあり、他にいくつかのフックもあります。 Field. clean ( value ) [ソース] Field クラス ... ccessed by overriding bound_field_class or override Field.get_bound_field() if you need more flexibility when creating the BoundField : Field. get_bound_field ( form , field_name ) [ソース] Form のインスタンスとフィールド名を引数に取り、対応する BoundField ... インスタンスを返します。この返された BoundField は、テンプレート内でそのフィールドにアクセスする際に使用されます。 BoundField をオーバーライドする例は、 BoundField のカス ...
https://man.mtool.work/django/6.1/ref/forms/fields.html
フォーム 8133
フォーム 詳細なフォーム API リファレンスです。入門的な内容については フォームを使う トピックガイドを参照してください。 フォーム API バインドされた (bound) フォームとバインドされていない (unbound) フォーム フォームをデータの検証に使用する フ ... ムからフィールドにアクセスする "clean" なデータにアクセスする フォームをHTMLとしてアウトプットする さらに詳細なアウトプット BoundField のカスタマイズ アップロードされたファイルをフォームにバインドする フォームをサブクラス化する フォームのプレフィックス フォ ...
https://man.mtool.work/django/6.1/ref/forms/
Django 1.11.1 リリースノート 8133
Django 1.11.1 リリースノート May 6, 2017 Django 1.11.1 adds a minor feature and fixes several bugs in 1.11. Allowed disabling server-side cursors on PostgreSQL The change in Django 1.11 to make QuerySet.iterator() use server-side cursors on ... ry key ( #28047 ). Fixed empty POST data table appearing instead of "No POST data" in HTML debug page ( #28079 ). Restored BoundField s without any choices evaluating to True ( #28058 ). Prevented SessionBase.cycle_key() from losing session data if _sessio ...
https://man.mtool.work/django/6.1/releases/1.11.1.html
Django 1.8.10 リリースノート 8133
Django 1.8.10 リリースノート March 1, 2016 Django 1.8.10 fixes two security issues and several bugs in 1.8.9. CVE-2016-2512: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth Django relies on u ... lowed dashes in top-level domain names of URLs checked by URLValidator to fix a regression in Django 1.8 ( #26204 ). Fixed BoundField to reallow slices of subwidgets ( #26267 ). Prevented ContentTypeManager instances from sharing their cache ( #26286 ). ...
https://man.mtool.work/django/6.1/releases/1.8.10.html
ウィジェット 8081
ウィジェット ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致する GET/POST ディクショナリからデータを取り出します。 Built-in widgets によって作られる HTML ... Comment:<input type="text" name="comment" size="40" required></div> attrs を使った HTML の id をセットすることもできます。 BoundField.id_for_label で例を参照してください。 ウィジェットのクラスにスタイルを設定する ウィジェットとともに、アセット ( css や jav ... タグで出力されます。 外側の <div> コンテナは、定義されている場合はウィジェットの id 属性を受け取り、定義されていない場合は BoundField.auto_id を受け取ります。 ラジオボタンをループ処理する際、 label タグと input タグはそれぞれ for 属性と id 属性を含みます。 ... / div > ... </ div > 外側の <div> コンテナは、定義されている場合はウィジェットの id 属性を受け取り、定義されていない場合は BoundField.auto_id を受け取ります。 RadioSelect のように、ウィジェットの選択肢ごとに個々のチェックボックスをループ処理できます。しかし ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
PREV 1 2 NEXT