検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 67 for initial (0.027 sec.)
フォーム API — Django 4.0.6 ドキュメント 14197
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... orm () >>> f . is_valid () False >>> f . errors {} Initial form values ¶ Form. initialinitial を使うことで ... name を使うことができます。 このためには、 Form の initial 引数を使います。この引数を渡す場合、フィールド名と ... する必要はありません。例えば: >>> f = ContactForm ( initial = { 'subject' : 'Hi there!' }) これらの値はくくりつ ... 値として使われることはありません。 もし Field の中で initial が定義されていて、 加えて Form をインスタンス化する ...
https://man.plustar.jp/django/ref/forms/api.html - [similar]
マイグレーション — Django 4.0.6 ドキュメント 11594
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... igration ): dependencies = [( 'migrations' , '0001_initial' )] operations = [ migrations . DeleteModel ( 'Tri ... にしてください。 最初のマイグレーション ¶ Migration. initial ¶ The "initial migrations" for an app are the migr ... of that app's tables. Usually an app will have one initial migration, but in some cases of complex model inte ... rdependencies it may have two or more. Initial migrations are marked with an initial = True class ...
https://man.plustar.jp/django/topics/migrations.html - [similar]
フォームセット (Formset) — Django 4.0.6 ドキュメント 11509
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eForm , extra = 2 ) >>> formset = ArticleFormSet ( initial = [ ... { 'title' : 'Django is now open source' , ... も注意してください。 フォームセットを描画するために initial を使う場合、フォームセットの送信を処理するときに同 ...initial を渡して、どのフォームがユーザによって変更されたか ... してください。例えば、 ArticleFormSet(request.POST, initial=[...]) のようになるでしょう。 参考 モデルフォームセ ...
https://man.plustar.jp/django/topics/forms/formsets.html - [similar]
mixinを編集する — Django 4.0.6 ドキュメント 9858
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ngo.views.generic.base.ContextMixin メソッドと属性 initial ¶ フォームの初期化データのディクショナリ。 form_cl ... L。 prefix ¶ The prefix for the generated form. get_initial () ¶ Retrieve initial data for the form. By defaul ... t, returns a copy of initial . get_form_class () ¶ Retrieve the form class to i ... ンスタンス化に必要なキーワード引数を構築します。 The initial argument is set to get_initial() . If the request ...
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html - [similar]
Form fields — Django 4.0.6 ドキュメント 9773
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... name="captcha_answer" type="number" required></p> initial ¶ Field. initialinitial 属性は、 Field が結びつ ... 値を指定します。 動的に初期値を指定する方法は、 Form.initial パラメータを参照してください。 The use-case for th ... ant to display an "empty" form in which a field is initialized to a particular value. For example: >>> from d ... m ( forms . Form ): ... name = forms . CharField ( initial = 'Your name' ) ... url = forms . URLField ( initi ...
https://man.plustar.jp/django/ref/forms/fields.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 9076
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t fields, see 使うフィールドを選択する . Providing initial values ¶ 通常のフォームと同様に、フォームをインスタ ... ンス化する際に initial パラメータを指定することで、フォームに対する初期値 ... . headline 'My headline' >>> form = ArticleForm ( initial = { 'headline' : 'Initial headline' }, instance = ... article ) >>> form [ 'headline' ] . value () 'Initial headline' ModelForm factory 関数 ¶ クラスの定義を使 ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
Django 1.11.4 リリースノート — Django 4.0.6 ドキュメント 8649
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... at context values checkbox_name , checkbox_id , is_initial , input_text , initial_text , and clear_checkbox_l ... 連キーワード Fixed , checkbox , when , difference , initial , queryset , union , QuerySet , crash , values クイ ...
https://man.plustar.jp/django/releases/1.11.4.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 8379
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... possible (nothing more than renaming is required). initial_data fixtures are no longer loaded for apps with m ... igrations; if you want to load initial data for an app, we suggest you create a migration ... value with a hyphen. The ModelAdmin.get_changeform_initial_data() method may be overridden to define custom b ... ehavior for setting initial change form data. django.contrib.auth ¶ Any **kwar ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
クラスベース汎用ビュー - フラットインデックス — Django 4.0.6 ドキュメント 8208
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... form_class [ get_form_class() ] http_method_names initial [ get_initial() ] prefix [ get_prefix() ] response ... form_class [ get_form_class() ] http_method_names initial [ get_initial() ] model pk_url_kwarg prefix [ get_ ... form_class [ get_form_class() ] http_method_names initial [ get_initial() ] model pk_url_kwarg prefix [ get_ ...
https://man.plustar.jp/django/ref/class-based-views/flattened-index.html - [similar]
How to provide initial data for models — Django 4.0.6 ドキュメント 7781
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Modules « previous | up | next » How to provide initial data for models ¶ アプリケーションを最初に設定する ... 境の一貫性を保つのに役立ちます。 目次 How to provide initial data for models マイグレーションで初期データを投入 ...
https://man.plustar.jp/django/howto/initial-data.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT