... す。 add_index() ¶ BaseDatabaseSchemaEditor. add_index ( model , index ) [ソース] ¶ model のテーブルに index を追加します。 remove_index() ¶ BaseDatabaseSchemaEditor. remove_index ( model , index ) [ソース] ¶ model のテーブルから index を削除します。 re ... ¶ BaseDatabaseSchemaEditor. add_constraint ( model , constraint ) [ソース] ¶ model のテーブルに constraint を追加します。 remove_constraint() ¶ BaseDatabaseSchemaEditor. remove_constraint ( model , constraint ) [ソース] ¶ model のテーブルから constrai ... れている場合、それは何も操作しません。 フィールドが ForeignKey である場合、これによって外部キー制約もカラムに追加されます。 remove_field() ¶ BaseDatabaseSchemaEditor. remove_field ( model , field ) [ソース] ¶ フィールドによって追加された、モデルのテーブ ... ... す。 add_index() ¶ BaseDatabaseSchemaEditor. add_index ( model , index ) [ソース] ¶ model のテーブルに index を追加します。 remove_index() ¶ BaseDatabaseSchemaEditor. remove_index ( model , index ) [ソース] ¶ model のテーブルから index を削除します。 re ... ¶ BaseDatabaseSchemaEditor. add_constraint ( model , constraint ) [ソース] ¶ model のテーブルに constraint を追加します。 remove_constraint() ¶ BaseDatabaseSchemaEditor. remove_constraint ( model , constraint ) [ソース] ¶ model のテーブルから constrai ... れている場合、それは何も操作しません。 フィールドが ForeignKey である場合、これによって外部キー制約もカラムに追加されます。 remove_field() ¶ BaseDatabaseSchemaEditor. remove_field ( model , field ) [ソース] ¶ フィールドによって追加された、モデルのテーブ ... ... て、新しい 中間モデル インスタンスの値を指定します。呼び出し可能オブジェクトを through_defaults 辞書の値として使用できます。 remove ( * objs , bulk = True ) ¶ aremove ( * objs , bulk = True ) ¶ 非同期バージョン : aremove() リレーション先オブジェクトのセッ ... ジェクトを削除します: >>> b = Blog . objects . get ( id = 1 ) >>> e = Entry . objects . get ( id = 234 ) >>> b . entry_set . remove ( e ) # Disassociates Entry e from Blog b. Similar to add() , e.save() is called in the example above to perform the updat ... e. Using remove() with a many-to-many relationship, however, will delete the relationships using QuerySet.delete() which means no model sa ... ... て、新しい 中間モデル インスタンスの値を指定します。呼び出し可能オブジェクトを through_defaults 辞書の値として使用できます。 remove ( * objs , bulk = True ) ¶ aremove ( * objs , bulk = True ) ¶ 非同期バージョン : aremove() リレーション先オブジェクトのセッ ... ジェクトを削除します: >>> b = Blog . objects . get ( id = 1 ) >>> e = Entry . objects . get ( id = 234 ) >>> b . entry_set . remove ( e ) # Disassociates Entry e from Blog b. Similar to add() , e.save() is called in the example above to perform the updat ... e. Using remove() with a many-to-many relationship, however, will delete the relationships using QuerySet.delete() which means no model sa ... ... からサーバーに送信するデータをフォーマットする便利な方法です。 SplitArrayField ¶ class SplitArrayField ( base_field , size , remove_trailing_nulls = False ) ¶ このフィールドは、ベースとなるフィールドを固定回数複製することで配列を処理します。 base_field ¶ ... は必須の引数です。繰り返すフォームフィールドを指定します。 size ¶ これは、ベースとなるフィールドが使用される固定の回数です。 remove_trailing_nulls ¶ デフォルトでは False に設定されています。 False に設定すると、繰り返されたフィールドのそれぞれの値が保存さ ... ます。 True に設定すると、末尾の値が空白の場合、その値は結果から取り除かれます。基となるフィールドが required=True で、かつ remove_trailing_nulls が True の場合、末尾にのみ null 値が許され、その値は取り除かれます。 例: SplitArrayField ( IntegerField ( r ... ... からサーバーに送信するデータをフォーマットする便利な方法です。 SplitArrayField ¶ class SplitArrayField ( base_field , size , remove_trailing_nulls = False ) ¶ このフィールドは、ベースとなるフィールドを固定回数複製することで配列を処理します。 base_field ¶ ... は必須の引数です。繰り返すフォームフィールドを指定します。 size ¶ これは、ベースとなるフィールドが使用される固定の回数です。 remove_trailing_nulls ¶ デフォルトでは False に設定されています。 False に設定すると、繰り返されたフィールドのそれぞれの値が保存さ ... ます。 True に設定すると、末尾の値が空白の場合、その値は結果から取り除かれます。基となるフィールドが required=True で、かつ remove_trailing_nulls が True の場合、末尾にのみ null 値が許され、その値は取り除かれます。 例: SplitArrayField ( IntegerField ( r ... ... Replace your model's __str__ function with a __unicode__ method, and make sure you use Unicode ( u'foo' ) in that method. Remove prepopulated_from ¶ Remove the prepopulated_from argument on model fields. It's no longer valid and has been moved to the ... ModelAdmin class in admin.py . See the admin , below, for more details about changes to the admin. Remove core ¶ Remove the core argument from your model fields. It is no longer necessary, since the equivalent functionality (par ... the admin interface now. You don't have to worry about inline editing until you get to the admin section, below. For now, remove all references to core . Replace class Admin: with admin.py ¶ Remove all your inner class Admin declarations from your mod ... ... Replace your model's __str__ function with a __unicode__ method, and make sure you use Unicode ( u'foo' ) in that method. Remove prepopulated_from ¶ Remove the prepopulated_from argument on model fields. It's no longer valid and has been moved to the ... ModelAdmin class in admin.py . See the admin , below, for more details about changes to the admin. Remove core ¶ Remove the core argument from your model fields. It is no longer necessary, since the equivalent functionality (par ... the admin interface now. You don't have to worry about inline editing until you get to the admin section, below. For now, remove all references to core . Replace class Admin: with admin.py ¶ Remove all your inner class Admin declarations from your mod ... ... _name of application configurations. The admin automatically calls autodiscover() when Django starts. You can consequently remove this line from your URLconf. Django imports all application configurations and models as soon as it starts, through a dete ... ds, including DecimalField and DateField , override it and show how to call the method on the superclass and simply add or remove extra arguments. This also means that all arguments to fields must themselves be serializable; to see what we consider ser ... previously depended on the PyWin32 package; if it wasn't installed, file locking failed silently. That dependency has been removed, and file locking is now implemented natively on both Windows and Unix. ファイルのアップロード ¶ The new UploadedFile.con ... ... _name of application configurations. The admin automatically calls autodiscover() when Django starts. You can consequently remove this line from your URLconf. Django imports all application configurations and models as soon as it starts, through a dete ... ds, including DecimalField and DateField , override it and show how to call the method on the superclass and simply add or remove extra arguments. This also means that all arguments to fields must themselves be serializable; to see what we consider ser ... previously depended on the PyWin32 package; if it wasn't installed, file locking failed silently. That dependency has been removed, and file locking is now implemented natively on both Windows and Unix. ファイルのアップロード ¶ The new UploadedFile.con ... 2026年10月08日