... 使用されます。 リレーションシップを扱うフィールド ¶ Two fields are available for representing relationships between models: ModelChoiceField and ModelMultipleChoiceField . Both of these fields require a single queryset parameter that is used to create the choices ... for the field. Upon form validation, these fields will place either one model object (in the case of ModelChoiceField ) or multiple model objects (in the case of ModelMultipleChoiceField ) into the cleaned_data dictionary of the form. より複 ... ( self , * args , ** kwargs ): super () . __init__ ( * args , ** kwargs ) self . fields [ "foo_select" ] . queryset = ... ModelChoiceField と ModelMultipleChoiceField には、選択肢を生成する際にクエリセットを繰り返すために使用されるクラスを指定する iterator 属性 ... ... 使用されます。 リレーションシップを扱うフィールド ¶ Two fields are available for representing relationships between models: ModelChoiceField and ModelMultipleChoiceField . Both of these fields require a single queryset parameter that is used to create the choices ... for the field. Upon form validation, these fields will place either one model object (in the case of ModelChoiceField ) or multiple model objects (in the case of ModelMultipleChoiceField ) into the cleaned_data dictionary of the form. より複 ... ( self , * args , ** kwargs ): super () . __init__ ( * args , ** kwargs ) self . fields [ "foo_select" ] . queryset = ... ModelChoiceField と ModelMultipleChoiceField には、選択肢を生成する際にクエリセットを繰り返すために使用されるクラスを指定する iterator 属性 ... ... regression causing ModelChoiceField to ignore prefetch_related() on its queryset ( #25496 ). Allowed "mode=memory" in SQLite test database name if supported ( ... e their Made invalid migrations allowed リリースノート November adds official support fixes several bugs バグ 修正 causing ModelChoiceField クイック検索 Last update: 2026年10月09日 « previous | up | next » ... ... has_changed() to return False for disabled form fields: BooleanField , MultipleChoiceField , MultiValueField , FileField , ModelChoiceField , and ModelMultipleChoiceField . Fixed QuerySet.count() for union() , difference() , and intersection() queries. ( #28399 ... ... has_changed() to return False for disabled form fields: BooleanField , MultipleChoiceField , MultiValueField , FileField , ModelChoiceField , and ModelMultipleChoiceField . Fixed QuerySet.count() for union() , difference() , and intersection() queries. ( #28399 ... ... regression causing ModelChoiceField to ignore prefetch_related() on its queryset ( #25496 ). Allowed "mode=memory" in SQLite test database name if supported ( ... ... crash ( #25686 ). Fixed a regression in 1.8.6 by restoring the ability to use Manager objects for the queryset argument of ModelChoiceField ( #25683 ). Fixed a regression in 1.8.6 that caused an application with South migrations in the migrations directory to fa ... ... th an empty Meta.default_permissions ( #26997 ). Fixed a regression in the number of queries when using RadioSelect with a ModelChoiceField form field ( #27001 ). Fixed a crash if request.META['CONTENT_LENGTH'] is an empty string ( #27005 ). Fixed the isnull loo ... ... crash ( #25686 ). Fixed a regression in 1.8.6 by restoring the ability to use Manager objects for the queryset argument of ModelChoiceField ( #25683 ). Fixed a regression in 1.8.6 that caused an application with South migrations in the migrations directory to fa ... ... th an empty Meta.default_permissions ( #26997 ). Fixed a regression in the number of queries when using RadioSelect with a ModelChoiceField form field ( #27001 ). Fixed a crash if request.META['CONTENT_LENGTH'] is an empty string ( #27005 ). Fixed the isnull loo ... 2026年10月08日