per page, with , order by , clip by
Results of 1 - 10 of about 10 for ContextMixin (0.004 sec.)
シンプルなミックスイン (mixin) 13354
シンプルなミックスイン (mixin) ContextMixin class django.views.generic.base. ContextMixin 属性 extra_context コンテキストに含める辞書。これは、 as_view() の中でコンテキストを指定する便利な方法です。使用例を次に示します。 from django.views.g ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-simple.html
ベース・ビュー 10690
ベース・ビュー 以下の3つのクラスは、Django のビューの作成に必要な多くの機能を提供します。これらは Django ビューの 親の ビューとみなすことができ、それ自体で使うことも継承して使うこともできます。プロジェクトに必要な全ての機能を提供するわけでは ... 、以下のビューからメソッドと属性を継承しています: django.views.generic.base.TemplateResponseMixin django.views.generic.base.ContextMixin django.views.generic.base.View メソッドのフローチャート setup() dispatch() http_method_not_allowed() get_context_data() Ex ... m myapp.views import HomePageView urlpatterns = [ path ( "" , HomePageView . as_view (), name = "home" ), ] コンテキスト ( ContextMixin を通じて) ビューに対応した URL パターンからキャプチャされたキーワード引数とともに入力されます。 as_view() に extra_context ...
https://man.mtool.work/django/6.1/ref/class-based-views/base.html
ビルトインのクラスベースビュー API 9618
ビルトインのクラスベースビュー API クラスベースビュー API のリファレンスです。入門的な内容については クラスベースビュー トピックガイド を参照してください。 ベース・ビュー View TemplateView RedirectView ジェネリック表示ビュー (Generic displa ... iew DayArchiveView TodayArchiveView DateDetailView クラスベースビューのミックスイン (mixin) シンプルなミックスイン (mixin) ContextMixin TemplateResponseMixin 単一オブジェクト ミックスイン (Single object mixin) SingleObjectMixin SingleObjectTemplateResponseMi ...
https://man.mtool.work/django/6.1/ref/class-based-views/
ミックスイン (mixin) を編集する 8563
ミックスイン (mixin) を編集する 以下のミックスイン (mixin) は、Djangoの編集ビューを構築するのに使用されます。 django.views.generic.edit.FormMixin django.views.generic.edit.ModelFormMixin django.views.generic.edit.ProcessFormView django.view ... neric.edit. FormMixin フォームを作成したり表示したりする機能を提供するmixinクラス。 ミックスイン django.views.generic.base.ContextMixin メソッドと属性 initial フォームの初期化データのディクショナリ。 form_class インスタンス化するフォームクラス。 success_url ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-editing.html
クラスベースのビューでミックスイン (mixin) を使用する 8563
クラスベースのビューでミックスイン (mixin) を使用する 注意 This is an advanced topic. A working knowledge of Django's class-based views is advised before exploring these techniques. Django のビルトインのクラスベースビューではたくさんの機能が ... mplateResponseMixin ) は、実際のオブジェクトを扱うときに、より柔軟なデフォルトを提供するためにこれをオーバーライドします。 ContextMixin Every built in view which needs context data, such as for rendering a template (including TemplateResponseMixin above), sh ... _data() passing any data they want to ensure is in there as keyword arguments. get_context_data() returns a dictionary; in ContextMixin it returns its keyword arguments, but it is common to override this to add more members to the dictionary. You can also us ...
https://man.mtool.work/django/6.1/topics/class-based-views/mixins.html
索引 8027
索引 記号 | _ | 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 コマン ... s.decorators.gzip module django.views.decorators.http module django.views.decorators.vary module django.views.generic.base.ContextMixin (組み込みクラス) django.views.generic.base.RedirectView (組み込みクラス) django.views.generic.base.TemplateResponseMixin ( ... ra (InlineModelAdmin の属性) extra() (django.db.models.query.QuerySet モジュール) extra_context (django.views.generic.base.ContextMixin の属性) (LoginView の属性) (LogoutView の属性) (PasswordChangeDoneView の属性) (PasswordChangeView の属性) (PasswordResetC ... t のメソッド) (Form のメソッド) (MultiWidget のメソッド) (Widget のメソッド) get_context_data() (django.views.generic.base.ContextMixin のメソッド) (django.views.generic.detail.SingleObjectMixin のメソッド) (django.views.generic.edit.FormMixin のメソッド) (d ...
https://man.mtool.work/django/6.1/genindex.html
ジェネリック編集ビュー (Generic editing view) 8027
ジェネリック編集ビュー (Generic editing view) 以下のビューは、このページで説明され、内容を編集するための基礎を提供します: django.views.generic.edit.FormView django.views.generic.edit.CreateView django.views.generic.edit.UpdateView django.vi ... .edit.BaseDeleteView django.views.generic.edit.DeletionMixin django.views.generic.edit.FormMixin django.views.generic.base.ContextMixin django.views.generic.detail.BaseDetailView django.views.generic.detail.SingleObjectMixin django.views.generic.base.View 属 ...
https://man.mtool.work/django/6.1/ref/class-based-views/generic-editing.html
複数オブジェクトミックスイン (Multiple object mixin) 8027
複数オブジェクトミックスイン (Multiple object mixin) MultipleObjectMixin class django.views.generic.list. MultipleObjectMixin オブジェクトのリストを表示するために使用する Mixin です。 paginate_by が指定された場合、Django は結果をページネート ... どちらかでなければならない ことです。 page に対する他の値はすべて 404 エラーとなります。 親クラス django.views.generic.base.ContextMixin メソッドと属性 allow_empty 有効なオブジェクトが 1 つもない場合にページを表示するかどうかを指定する真偽値です。 False に指定 ...
https://man.mtool.work/django/6.1/ref/class-based-views/mixins-multiple-object.h...
Django 1.5 リリースノート 7490
Django 1.5 リリースノート February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 1.4 or older versions. We'v ... . New view variable in class-based views context In all generic class-based views (or any class-based view inheriting from ContextMixin ), the context dictionary contains a view variable that points to the View instance. GeoDjango LineString and MultiLineStr ...
https://man.mtool.work/django/6.1/releases/1.5.html
Django 2.0 リリースノート 6954
Django 2.0 リリースノート December 2, 2017 Django 2.0 へようこそ! このリリースノートでは、 バージョン 2.0 の新機能 と、Django 1.11 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した ... hod returns form errors as a dictionary suitable for including in a JSON response. ジェネリックビュー (汎用ビュー) The new ContextMixin.extra_context attribute allows adding context in View.as_view() . 管理コマンド inspectdb now translates MySQL's unsigned i ...
https://man.mtool.work/django/6.1/releases/2.0.html
PREV 1 NEXT