... ョンのアクセサ): content_type context_object_name [ get_context_object_name() ] extra_context http_method_names model pk_url_kwarg query_pk_and_slug queryset [ get_queryset() ] response_class [ render_to_response() ] slug_field [ get_slug_field() ] slug ... _url_kwarg template_engine template_name [ get_template_names() ] template_name_field template_name_suffix メソッド as_view() dispatc ... _template_names() ] メソッド as_view() dispatch() form_invalid() form_valid() get() get_context_data() get_form() get_form_kwargs() http_method_not_allowed() post() put() setup() CreateView ¶ class CreateView ¶ 属性 (とオプションのアクセサ): content_t ... ... ョンのアクセサ): content_type context_object_name [ get_context_object_name() ] extra_context http_method_names model pk_url_kwarg query_pk_and_slug queryset [ get_queryset() ] response_class [ render_to_response() ] slug_field [ get_slug_field() ] slug ... _url_kwarg template_engine template_name [ get_template_names() ] template_name_field template_name_suffix メソッド as_view() dispatc ... _template_names() ] メソッド as_view() dispatch() form_invalid() form_valid() get() get_context_data() get_form() get_form_kwargs() http_method_not_allowed() post() put() setup() CreateView ¶ class CreateView ¶ 属性 (とオプションのアクセサ): content_t ... ... てください。 slug_field ¶ スラグを含むモデル上のフィールドの名前です。デフォルトでは、 slug_field は 'slug' です。 slug_url_kwarg ¶ スラグを含む URLConf キーワード引数の名前です。デフォルトでは、 slug_url_kwarg は 'slug' です。 pk_url_kwarg ¶ プライマリ ... キーを含む URLConf キーワード引数の名前です。デフォルトでは、 pk_url_kwarg は 'pk' です。 context_object_name ¶ コンテキストで使用する変数名を指定します。 query_pk_and_slug ¶ True の場合、 get_obje ... ソースとして使用されます。 それ以外の場合は、 get_queryset() が使用されます。 get_object() は、ビューへの引数の中から pk_url_kwarg 引数を探します。 この引数が見つかった場合、このメソッドはその値を使用してプライマリキーベースのルックアップを実行します。 ... ... てください。 slug_field ¶ スラグを含むモデル上のフィールドの名前です。デフォルトでは、 slug_field は 'slug' です。 slug_url_kwarg ¶ スラグを含む URLConf キーワード引数の名前です。デフォルトでは、 slug_url_kwarg は 'slug' です。 pk_url_kwarg ¶ プライマリ ... キーを含む URLConf キーワード引数の名前です。デフォルトでは、 pk_url_kwarg は 'pk' です。 context_object_name ¶ コンテキストで使用する変数名を指定します。 query_pk_and_slug ¶ True の場合、 get_obje ... ソースとして使用されます。 それ以外の場合は、 get_queryset() が使用されます。 get_object() は、ビューへの引数の中から pk_url_kwarg 引数を探します。 この引数が見つかった場合、このメソッドはその値を使用してプライマリキーベースのルックアップを実行します。 ... ... alue using URLValidator before displaying the clickable link. You may customize the validator by passing a validator_class kwarg to AdminURLFieldWidget.__init__() , e.g. when using formfield_overrides . 目次 Django 1.11.21 リリースノート CVE-2019-1230 ... ... alue using URLValidator before displaying the clickable link. You may customize the validator by passing a validator_class kwarg to AdminURLFieldWidget.__init__() , e.g. when using formfield_overrides . 目次 Django 1.11.21 リリースノート CVE-2019-1230 ... ... alue using URLValidator before displaying the clickable link. You may customize the validator by passing a validator_class kwarg to AdminURLFieldWidget.__init__() , e.g. when using formfield_overrides . Patched bundled jQuery for CVE-2019-11358: Proto ... ... e to filter for any of a group of values. You need to override the expected_parameters method, and then specify the lookup_kwargs attribute with the appropriate field name. By default, multiple values in the query string will be separated with commas, ... s. list_separator = "|" def __init__ ( self , field , request , params , model , model_admin , field_path ): self . lookup_kwarg = " %s __in" % field_path super () . __init__ ( field , request , params , model , model_admin , field_path ) def expected ... _parameters ( self ): return [ self . lookup_kwarg ] 注釈 GenericForeignKey フィールドはサポートされていません。 リストフィルタは通常、フィルタに複数の選択肢がある場合にのみ ... ... alue using URLValidator before displaying the clickable link. You may customize the validator by passing a validator_class kwarg to AdminURLFieldWidget.__init__() , e.g. when using formfield_overrides . Patched bundled jQuery for CVE-2019-11358: Proto ... ... e to filter for any of a group of values. You need to override the expected_parameters method, and then specify the lookup_kwargs attribute with the appropriate field name. By default, multiple values in the query string will be separated with commas, ... s. list_separator = "|" def __init__ ( self , field , request , params , model , model_admin , field_path ): self . lookup_kwarg = " %s __in" % field_path super () . __init__ ( field , request , params , model , model_admin , field_path ) def expected ... _parameters ( self ): return [ self . lookup_kwarg ] 注釈 GenericForeignKey フィールドはサポートされていません。 リストフィルタは通常、フィルタに複数の選択肢がある場合にのみ ... 2026年10月08日