per page, with , order by , clip by
Results of 1 - 10 of about 18 for FormView (0.006 sec.)
ジェネリック編集ビュー (Generic editing view) — Django 6.1 ドキュメント 11907
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ジェネリック編集ビュー (Generic editing view) ¶ 以下のビューは、このページで説明され、内容を編集するための基礎を提供します: django.views.generic.edi ... t.FormView django.views.generic.edit.CreateView django.views.generic.edit.UpdateView django.views.generic.edit.DeleteView 参考 メッセ ... ield ( max_length = 200 ) def get_absolute_url ( self ): return reverse ( "author-detail" , kwargs = { "pk" : self . pk }) FormView ¶ class django.views.generic.edit. FormView ¶ フォームを描画するビューです。エラー時には、バリデーションエラーとともにフォ ... 下のビューからメソッドと属性を継承しています: django.views.generic.base.TemplateResponseMixin django.views.generic.edit.BaseFormView django.views.generic.edit.FormMixin django.views.generic.edit.ProcessFormView django.views.generic.base.View 例 myapp/form ...
https://man.mtool.work/django/6.1/ref/class-based-views/generic-editing.html
クラスベースのビューでフォームを扱う — Django 6.1 ドキュメント 11290
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでフォームを扱う ¶ フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込ま ... = forms . Textarea ) def send_email ( self ): # send email using the self.cleaned_data dictionary pass このとき、ビューは FormView を使うことで構築できます。 views.py ¶ from myapp.forms import ContactForm from django.views.generic.edit import FormView c ... lass ContactFormView ( FormView ): template_name = "contact.html" form_class = ContactForm success_url = "/thanks/" def form_valid ( self , for ... data has been POSTed. # It should return an HttpResponse. form . send_email () return super () . form_valid ( form ) メモ: FormView は TemplateResponseMixin を継承するため、ここでは template_name を使うことができます。 form_valid() デフォルトの実装は、た ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
ジェネリック編集ビュー (Generic editing view) — Django 6.1 ドキュメント 11135
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ジェネリック編集ビュー (Generic editing view) ¶ 以下のビューは、このページで説明され、内容を編集するための基礎を提供します: django.views.generic.edi ... t.FormView django.views.generic.edit.CreateView django.views.generic.edit.UpdateView django.views.generic.edit.DeleteView 参考 メッセ ... ield ( max_length = 200 ) def get_absolute_url ( self ): return reverse ( "author-detail" , kwargs = { "pk" : self . pk }) FormView ¶ class django.views.generic.edit. FormView ¶ フォームを描画するビューです。エラー時には、バリデーションエラーとともにフォ ... 下のビューからメソッドと属性を継承しています: django.views.generic.base.TemplateResponseMixin django.views.generic.edit.BaseFormView django.views.generic.edit.FormMixin django.views.generic.edit.ProcessFormView django.views.generic.base.View 例 myapp/form ...
https://man.mtool.work/django/6.1/ref/class-based-views/generic-editing.html
クラスベースのビューでフォームを扱う — Django 6.1 ドキュメント 10518
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでフォームを扱う ¶ フォームの処理には、一般に3つの場合分けが存在します。 最初の GET リクエスト (空白またはデフォルト値が埋め込ま ... = forms . Textarea ) def send_email ( self ): # send email using the self.cleaned_data dictionary pass このとき、ビューは FormView を使うことで構築できます。 views.py ¶ from myapp.forms import ContactForm from django.views.generic.edit import FormView c ... lass ContactFormView ( FormView ): template_name = "contact.html" form_class = ContactForm success_url = "/thanks/" def form_valid ( self , for ... data has been POSTed. # It should return an HttpResponse. form . send_email () return super () . form_valid ( form ) メモ: FormView は TemplateResponseMixin を継承するため、ここでは template_name を使うことができます。 form_valid() デフォルトの実装は、た ...
https://man.mtool.work/django/6.1/topics/class-based-views/generic-editing.html
クラスベースのビューでミックスイン (mixin) を使用する — Django 6.1 ドキュメント 9437
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでミックスイン (mixin) を使用する ¶ 注意 This is an advanced topic. A working knowledge of Django's class-based views is advised ... オブジェクトや複数のオブジェクトを扱う際に便利な機能を提供する4つのミックスインについて紹介します。 ジェネリック編集ビュー ( FormView と、モデル固有のビュー CreateView , UpdateView , DeleteView ) と日付ベースのジェネリックビューにもミックスインがあります。 ... OST 時にフォームが適切に呼び出されるようにコードを少し書きましょう。 注釈 FormMixin を使用し、自分で post() を実装します。 FormView (すでに適切な post() を提供している)と DetailView は、両方のビューが get() を実装しているため、混在させるとより混乱する可 ... フォームを処理するための別々のビューを持つ方が、上記のアプローチよりも作業量が少ないでしょう。その場合、 DetailView とは別の FormView を使うことになるでしょう。 もう一つのより良い解決策 ¶ ここで本当にやろうとしていることは、同じURLから2つの異なるクラスベー ...
https://man.mtool.work/django/6.1/topics/class-based-views/mixins.html
ビルトインのクラスベースビュー API — Django 6.1 ドキュメント 9437
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ビルトインのクラスベースビュー API ¶ クラスベースビュー API のリファレンスです。入門的な内容については クラスベースビュー トピックガイド を参照してく ... directView ジェネリック表示ビュー (Generic display view) DetailView ListView ジェネリック編集ビュー (Generic editing view) FormView CreateView UpdateView DeleteView ジェネリック日付ビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView ... n) MultipleObjectMixin MultipleObjectTemplateResponseMixin ミックスイン (mixin) を編集する FormMixin ModelFormMixin ProcessFormView DeletionMixin 日付ベースのミックスイン (mixin) YearMixin MonthMixin DayMixin WeekMixin DateMixin BaseDateListView クラスベ ... デックス シンプルなジェネリックビュー View TemplateView RedirectView 詳細ビュー DetailView リストビュー ListView 編集ビュー FormView CreateView UpdateView DeleteView 日付ベースのビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView DayA ...
https://man.mtool.work/django/6.1/ref/class-based-views/
クラスベースのビューでミックスイン (mixin) を使用する — Django 6.1 ドキュメント 9437
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのビューでミックスイン (mixin) を使用する ¶ 注意 This is an advanced topic. A working knowledge of Django's class-based views is advised ... オブジェクトや複数のオブジェクトを扱う際に便利な機能を提供する4つのミックスインについて紹介します。 ジェネリック編集ビュー ( FormView と、モデル固有のビュー CreateView , UpdateView , DeleteView ) と日付ベースのジェネリックビューにもミックスインがあります。 ... OST 時にフォームが適切に呼び出されるようにコードを少し書きましょう。 注釈 FormMixin を使用し、自分で post() を実装します。 FormView (すでに適切な post() を提供している)と DetailView は、両方のビューが get() を実装しているため、混在させるとより混乱する可 ... フォームを処理するための別々のビューを持つ方が、上記のアプローチよりも作業量が少ないでしょう。その場合、 DetailView とは別の FormView を使うことになるでしょう。 もう一つのより良い解決策 ¶ ここで本当にやろうとしていることは、同じURLから2つの異なるクラスベー ...
https://man.mtool.work/django/6.1/topics/class-based-views/mixins.html
ビルトインのクラスベースビュー API — Django 6.1 ドキュメント 8356
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ビルトインのクラスベースビュー API ¶ クラスベースビュー API のリファレンスです。入門的な内容については クラスベースビュー トピックガイド を参照してく ... directView ジェネリック表示ビュー (Generic display view) DetailView ListView ジェネリック編集ビュー (Generic editing view) FormView CreateView UpdateView DeleteView ジェネリック日付ビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView ... n) MultipleObjectMixin MultipleObjectTemplateResponseMixin ミックスイン (mixin) を編集する FormMixin ModelFormMixin ProcessFormView DeletionMixin 日付ベースのミックスイン (mixin) YearMixin MonthMixin DayMixin WeekMixin DateMixin BaseDateListView クラスベ ... デックス シンプルなジェネリックビュー View TemplateView RedirectView 詳細ビュー DetailView リストビュー ListView 編集ビュー FormView CreateView UpdateView DeleteView 日付ベースのビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView DayA ...
https://man.mtool.work/django/6.1/ref/class-based-views/
クラスベースのジェネリックビュー: フラットインデックス — Django 6.1 ドキュメン... 8201
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのジェネリックビュー: フラットインデックス ¶ この索引は、クラスベースビューのリファレンス文書を、異なる観点から編成したものです。ビューご ... text_data() get_paginator() head() http_method_not_allowed() paginate_queryset() render_to_response() setup() 編集ビュー ¶ FormView ¶ class FormView ¶ 属性 (とオプションのアクセサ): content_type extra_context form_class [ get_form_class() ] http_method_n ... デックス シンプルなジェネリックビュー View TemplateView RedirectView 詳細ビュー DetailView リストビュー ListView 編集ビュー FormView CreateView UpdateView DeleteView 日付ベースのビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView DayA ...
https://man.mtool.work/django/6.1/ref/class-based-views/flattened-index.html
クラスベースのジェネリックビュー: フラットインデックス — Django 6.1 ドキュメン... 8201
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » クラスベースのジェネリックビュー: フラットインデックス ¶ この索引は、クラスベースビューのリファレンス文書を、異なる観点から編成したものです。ビューご ... text_data() get_paginator() head() http_method_not_allowed() paginate_queryset() render_to_response() setup() 編集ビュー ¶ FormView ¶ class FormView ¶ 属性 (とオプションのアクセサ): content_type extra_context form_class [ get_form_class() ] http_method_n ... デックス シンプルなジェネリックビュー View TemplateView RedirectView 詳細ビュー DetailView リストビュー ListView 編集ビュー FormView CreateView UpdateView DeleteView 日付ベースのビュー ArchiveIndexView YearArchiveView MonthArchiveView WeekArchiveView DayA ...
https://man.mtool.work/django/6.1/ref/class-based-views/flattened-index.html
PREV 1 2 NEXT