クラスベースビューでのフォームの扱い None

語句
説明
説明 (英)
開始位置
音声

イントロ:クラスベースのビュー None

語句
説明
説明 (英)
開始位置
音声
While your class is instantiated for each request dispatched to it, class attributes set through the as_view() entry point are configured only once at the time your URLs are imported.
リクエストのディスパッチごとにクラスはインスタンス化されるけど、as_view()で設定したクラス属性はURLが読み込まれる時の1度だけ。
None
-
only one parent class may inherit from View and the rest (if any) should be mixins.
1つのクラスだけがViewクラスを継承でき、残りはMixinであるべき。
None
-
Mixins are a form of multiple inheritance where behaviors and attributes of multiple parent classes can be combined.
Mixinは複数の親クラスの振る舞いと属性をひとつにまとめる多重継承の形式
None
-
You can only inherit from one generic view.
ひとつの汎用ビューからのみ継承できる
None
-
If you want every instance of a view to be decorated, you need to take a different approach.
すべてのインスタンスをデコレートしたいなら別のアプローチが必要です。
None
-

組み込みクラスベース汎用ビュー None

語句
説明
説明 (英)
開始位置
音声
Because it’s such a common task, Django comes with a handful of built-in generic views to help generate list and detail views of objects.
これは非常に一般的なタスクなので、Djangoはオブジェクトのリストと詳細を簡単に生成できる機能をたくさん備えています。
None
-
These generic views will automatically create a ModelForm, so long as they can work out which model class to use.
これらの汎用ビューは自動的にModelFormを作る、使用するモデルクラスを特定できる限り。
None
-