... いやすいものではありませんが、クライアントサイドのウィジェットからサーバーに送信するデータをフォーマットする便利な方法です。 SplitArrayField ¶ class SplitArrayField ( base_field , size , remove_trailing_nulls = False ) ¶ このフィールドは、ベースとなるフィールドを ... ルドが required=True で、かつ remove_trailing_nulls が True の場合、末尾にのみ null 値が許され、その値は取り除かれます。 例: SplitArrayField ( IntegerField ( required = True ), size = 3 , remove_trailing_nulls = False ) [ "1" , "2" , "3" ] # -> [1, 2, 3] [ "1" , ... ] # -> ValidationError - second entry required. [ "" , "2" , "" ] # -> ValidationError - first and third entries required. SplitArrayField ( IntegerField ( required = False ), size = 3 , remove_trailing_nulls = False ) [ "1" , "2" , "3" ] # -> [1, 2, 3] [ "1" , ... ... いやすいものではありませんが、クライアントサイドのウィジェットからサーバーに送信するデータをフォーマットする便利な方法です。 SplitArrayField ¶ class SplitArrayField ( base_field , size , remove_trailing_nulls = False ) ¶ このフィールドは、ベースとなるフィールドを ... ルドが required=True で、かつ remove_trailing_nulls が True の場合、末尾にのみ null 値が許され、その値は取り除かれます。 例: SplitArrayField ( IntegerField ( required = True ), size = 3 , remove_trailing_nulls = False ) [ "1" , "2" , "3" ] # -> [1, 2, 3] [ "1" , ... ] # -> ValidationError - second entry required. [ "" , "2" , "" ] # -> ValidationError - first and third entries required. SplitArrayField ( IntegerField ( required = False ), size = 3 , remove_trailing_nulls = False ) [ "1" , "2" , "3" ] # -> [1, 2, 3] [ "1" , ... ... will be sent to the email address on record rather than the submitted address. バグ修正 ¶ Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of pre ... ... will be sent to the email address on record rather than the submitted address. バグ修正 ¶ Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of pre ... ... will be sent to the email address on record rather than the submitted address. バグ修正 ¶ Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of pre ... ... will be sent to the email address on record rather than the submitted address. バグ修正 ¶ Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of pre ... ... on code. Fixed a typo in the name of the strictly_above PostGIS lookup ( #25592 ). Fixed crash with contrib.postgres.forms.SplitArrayField and IntegerField on invalid value ( #25597 ). Added a helpful error message when Django and South migrations exist in the ... ... to be used in conditions outside of queryset filters, e.g. in When conditions ( #31060 ). Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of pre ... ... on code. Fixed a typo in the name of the strictly_above PostGIS lookup ( #25592 ). Fixed crash with contrib.postgres.forms.SplitArrayField and IntegerField on invalid value ( #25597 ). Added a helpful error message when Django and South migrations exist in the ... ... to be used in conditions outside of queryset filters, e.g. in When conditions ( #31060 ). Fixed a data loss possibility in SplitArrayField . When using with ArrayField(BooleanField()) , all values after the first True value were marked as checked instead of pre ... 2026年10月08日