per page, with , order by , clip by
Results of 1 - 10 of about 31 for hidden (0.004 sec.)
モデル _meta API 14058
モデル _meta API class Options [ソース] モデルの _meta API は、Django ORM のコアにあります。これにより、ルックアップ、クエリ、フォーム、admin などのシステムの他のパーツは、各モデルの機能を理解できるようになります。API は、各モデルクラスの _ ... ユーザーが設定した related_query_name 、ユーザーが設定した related_name 、Django が自動生成した名前のいずれかになります。 Hidden fields, fields with hidden=True , cannot be retrieved by name. 与えられた名前のフィールドが見つからなかったときは、 FieldD ... d 'does_not_exist' モデルのすべてのフィールドインスタンスを取得する Options. get_fields ( include_parents = True , include_hidden = False ) [ソース] モデルに関連するフィールドのタプルを返します。 get_fields() は、次のように2つの引数を受け取り、どのフィ ... 。抽象モデルまたはプロキシークラスから直接継承したモデルからのフィールドは、親ではなくローカルなものとみなされます。 include_hidden False by default. If set to True , get_fields() will include fields with hidden=True . >>> from django.contrib.auth.models ...
https://man.mtool.work/django/6.1/ref/models/meta.html
フォームを使う 10369
フォームを使う このドキュメントについて このドキュメントでは、Web フォームの基本と、それらを Django で扱う方法を紹介しています。より詳しく知りたいときは、フォーム API の特定の領域、 フォーム API 、 フォーム フィールド または フォームとフィー ... It's also useful, for example, if you have some inline JavaScript and want to avoid hardcoding the field's ID. {{ field.is_hidden }} この属性は、フォームフィールドがhiddenフィールドの場合はTrue、それ以外の場合はFalseです。 テンプレート変数としては特に有 ... 用ではありませんが、以下のような条件テストに役立ちます。 {% if field.is_hidden %} {# Do something special #} {% endif %} {{ field.label }} The label of the field, e.g. Contact email . {{ field.label_ta ... ールドの値。例: someone@example.com For a complete list of attributes and methods, see the reference guide for BoundField . Hidden および可視のフィールドをループする Django のデフォルトのフォームレイアウトに頼るのではなく、手作業でテンプレートに フォーム ...
https://man.mtool.work/django/6.1/topics/forms/
ウィジェット 10191
ウィジェット ウィジェットは、Django が HTML の input 要素の表現方法です。ウィジェットは、HTML のレンダリングをコントロールして、ウィジェットに合致する GET/POST ディクショナリからデータを取り出します。 Built-in widgets によって作られる HTML ... まれています。これは、ウィジェットの辞書表現であり、以下のキーを含んでいます: 'name' : name 引数からのフィールド名です。 'is_hidden' : このウィジェットが非表示かどうかを示す真偽値です。 'required' : このウィジェットのフィールドが必須かどうかを表す真偽値で ... od in custom widgets that aren't compatible with browser validation. For example, a WYSIWYG text editor widget backed by a hidden textarea element may want to always return False to avoid browser validation on the hidden field. MultiWidget class MultiW ... リデーションエラーの後、フォームが再描画されるときにウィジェットに値を書き込むかどうかを決めます (デフォルトは False です)。 HiddenInput class HiddenInput [ソース] input_type : 'hidden' template_name : 'django/forms/widgets/hidden.html' レンダリング結果: ...
https://man.mtool.work/django/6.1/ref/forms/widgets.html
Django 1.5.11 リリースノート 9447
Django 1.5.11 リリースノート October 22, 2014 Django 1.5.11 fixes a couple regressions in the 1.5.9 security release. バグ修正 Allowed related many-to-many fields to be referenced in the admin ( #23604 ). Allowed inline and hidden reference ...
https://man.mtool.work/django/6.1/releases/1.5.11.html
Django 1.6.8 リリースノート 9447
Django 1.6.8 リリースノート October 22, 2014 Django 1.6.8 fixes a couple regressions in the 1.6.6 security release. バグ修正 Allowed related many-to-many fields to be referenced in the admin ( #23604 ). Allowed inline and hidden references ...
https://man.mtool.work/django/6.1/releases/1.6.8.html
モデルからフォームを作成する 9447
モデルからフォームを作成する ModelForm class ModelForm [ソース] データベース中心のアプリケーションを作成している場合、Django モデルに密接にマップするフォームを使うことになるでしょう。例えば、 BlogComment モデルを持っていて、閲覧者がコメント ... を作成します。通常のフォームセットと同じように動作します: >>> formset = AuthorFormSet () >>> print ( formset ) <input type="hidden" name="form-TOTAL_FORMS" value="1" id="id_form-TOTAL_FORMS"><input type="hidden" name="form-INITIAL_FORMS" value="0" id="i ... d_form-INITIAL_FORMS"><input type="hidden" name="form-MIN_NUM_FORMS" value="0" id="id_form-MIN_NUM_FORMS"><input type="hidden" name="form-MAX_NUM_FORMS" value="1000 ... n> <option value="MR">Mr.</option> <option value="MRS">Mrs.</option> <option value="MS">Ms.</option> </select><input type="hidden" name="form-0-id" id="id_form-0-id"></div> 注釈 modelformset_factory() は formset_factory() を使ってフォームセットを生成し ...
https://man.mtool.work/django/6.1/topics/forms/modelforms.html
Django 1.1 リリースノート 9269
Django 1.1 リリースノート July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... e from your code immediately. AdminSite.root will raise a PendingDeprecationWarning if used in Django 1.1. This warning is hidden by default. In Django 1.2, this warning will be upgraded to a DeprecationWarning , which will be displayed loudly. Django ... erns() ) in addition to module names. Instances of Django forms (see the forms overview ) now have two additional methods, hidden_fields() and visible_fields() , which return the list of hidden -- i.e., <input type="hidden"> -- and visible fields on th ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django 1.4.16 リリースノート 9269
Django 1.4.16 リリースノート October 22, 2014 Django 1.4.16 fixes a couple regressions in the 1.4.14 security release and a bug preventing the use of some GEOS versions with GeoDjango. バグ修正 Allowed related many-to-many fields to be refe ... renced in the admin ( #23604 ). Allowed inline and hidden references to admin fields ( #23431 ). Fixed parsing of the GEOS version string ( #20036 ). ...
https://man.mtool.work/django/6.1/releases/1.4.16.html
Django 3.1.8 リリースノート 9091
Django 3.1.8 リリースノート April 6, 2021 Django 3.1.8 fixes a security issue with severity "low" and a bug in 3.1.7. CVE-2021-28658: Potential directory-traversal via uploaded files MultiPartParser allowed directory-traversal via uploaded ... Built-in upload handlers were not affected by this vulnerability. バグ修正 Fixed a bug in Django 3.1 where the output was hidden on a test error or failure when using test --pdb with the --buffer option ( #32560 ). ...
https://man.mtool.work/django/6.1/releases/3.1.8.html
Django 4.0.5 リリースノート 8897
Django 4.0.5 リリースノート 2022年6月1日 Django 4.0.5 では、4.0.4 におけるいくつかのバグを修正しました。 バグ修正 Fixed a bug in Django 4.0 where not all OPTIONS were passed to a Redis client ( #33681 ). Fixed a bug in Django 4.0 that cause ... d a crash of QuerySet.filter() on IsNull() expressions ( #33705 ). Fixed a bug in Django 4.0 where a hidden quick filter toolbar in the admin's navigation sidebar was focusable ( #33725 ). ...
https://man.mtool.work/django/6.1/releases/4.0.5.html
PREV 1 2 3 4 NEXT