検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 149 for form (0.037 sec.)
フォームセット (Formset) — Django 4.0.6 ドキュメント 10951
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | Modules « previous | up | next » フォームセット (Formset) ¶ class BaseFormSet ¶ フォームセットとは、同じ ... うなフォームを考えましょう。 >>> from django import forms >>> class ArticleForm ( forms . Form ): ... title ... = forms . CharField () ... pub_date = forms . DateField ( ... 複数の記事を作成できるようにしたいとします。 ArticleForm からフォームセットを生成するには、次のようにします ...
https://man.plustar.jp/django/topics/forms/formsets.html - [similar]
フォーム API — Django 4.0.6 ドキュメント 10388
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ドキュメントを読む前に introduction to working with forms 1 を読むことをおすすめします。 Bound and unbound ... forms ¶ Form インスタンスには、データに**くくりつけられた** もの ... ていない ものがあります。 データに くくりつけられた Form インスタンスは、そのデータを検証したり、HTMLフォー ... Lに表示することができます。 くくりつけられていない Form インスタンスは、データを検証することができません( ...
https://man.plustar.jp/django/ref/forms/api.html - [similar]
フォームを使う — Django 4.0.6 ドキュメント 9697
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ときは、フォーム API の特定の領域、 フォーム API 、 Form fields または フォームとフィールドの検証 をご覧くだ ... うになります。 HTML フォーム ¶ HTMLでは、フォームは <form>...</form> 内の要素の集まりで、訪問者によるテキスト ... て実現されます。 As well as its <input> elements, a form must specify two things: どこで : ユーザーのインプ ... ストフィールドもあります。 また、フォームのデータが <form> の action 属性によって指定された URL - /admin/ - ...
https://man.plustar.jp/django/topics/forms/index.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 9639
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... | up | next » モデルからフォームを作成する ¶ ModelForm ¶ class ModelForm ¶ データベース中心のアプリケーシ ... 長でしょう。 このためDjango には、Django モデルから Form クラスを生成できるようなヘルパークラスを用意してあ ... ります。 例: >>> from django.forms import ModelForm >>> from myapp.models import Art ... icle # Create the form class. >>> class ArticleForm ( ModelForm ): ... cl ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
mixinを編集する — Django 4.0.6 ドキュメント 9580
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 構築するのに使用されます。 django.views.generic.edit.FormMixin django.views.generic.edit.ModelFormMixin djan ... go.views.generic.edit.ProcessFormView django.views.generic.edit.DeletionMixin 注釈 こ ... の例は、 Generic editing ビュー を参照してください。 FormMixin ¶ class django.views.generic.edit. FormMixin ... initial ¶ フォームの初期化データのディクショナリ。 form_class ¶ インスタンス化するフォームクラス。 success ...
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html - [similar]
クラスベースのビューでフォームを扱う — Django 4.0.6 ドキュメント 9264
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... しの定型コードを書くことになってしまいます ( Using a form in a view を参照)。これを避けるために、Django はフ ... 用意しています。 基本的なフォーム ¶ Given a contact form: forms.py ¶ from django import forms class Contact ... Form ( forms . Form ): name = forms . CharField () message = f ... orms . CharField ( widget = forms . Textarea ) def send_email ( self ): # send emai ...
https://man.plustar.jp/django/topics/class-based-views/generic-editing.html - [similar]
The form rendering API — Django 4.0.6 ドキュメント 9006
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nts | Index | Modules « previous | up | next » The form rendering API ¶ Django's form widgets are rendered ... using Django's template engines system . The form rendering process can be customized at several lev ... els: Widgets can specify custom template names. Forms and widgets can specify custom renderer classes. ... ates.) The low-level render API ¶ The rendering of form templates is controlled by a customizable renderer ...
https://man.plustar.jp/django/ref/forms/renderers.html - [similar]
Generic editing ビュー — Django 4.0.6 ドキュメント 8983
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... るための基礎を提供します: django.views.generic.edit.FormView django.views.generic.edit.CreateView django.vi ... h facilitates presenting messages about successful form submissions. 注釈 このページの例のいくつかは、 Aut ... ( 'author-detail' , kwargs = { 'pk' : self . pk }) FormView ¶ class django.views.generic.edit. FormView ¶ ... emplateResponseMixin django.views.generic.edit.BaseFormView django.views.generic.edit.FormMixin django.vie ...
https://man.plustar.jp/django/ref/class-based-views/generic-editing.html - [similar]
ファイルのアップロード — Django 4.0.6 ドキュメント 8725
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ください。 ファイルのアップロードの基本 ¶ Consider a form containing a FileField : forms.py ¶ from django im ... port forms class UploadFileForm ( forms . Form ): title = fo ... rms . CharField ( max_length = 50 ) file = forms . FileField () このフォームをハンドリングするビュ ... least one file field was actually posted, and the <form> that posted the request has the attribute enctype ...
https://man.plustar.jp/django/topics/http/file-uploads.html - [similar]
JavaScript customizations in the admin — Django 4.0.6 ドキュメント 8468
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... » JavaScript customizations in the admin ¶ Inline form events ¶ You may want to execute some JavaScript w ... hen an inline form is added or removed in the admin change form. The ... formset:added and formset:removed jQuery events allow this. The event han ... y event. $row is the newly added (or removed) row. formsetName is the formset the row belongs to. The even ...
https://man.plustar.jp/django/ref/contrib/admin/javascript.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT