... model_name arguments for allow_migrate() in makemigrations migration consistency checks ( #27461 ). Made Model.delete(keep_parents=True) preserve parent reverse relationships in multi-table inheritance ( #27407 ). Fixed a QuerySet.update() crash on SQLi ... ... : User has no field named 'does_not_exist' モデルのすべてのフィールドインスタンスを取得する Options. get_fields ( include_parents = True , include_hidden = False ) [ソース] モデルに関連するフィールドのタプルを返します。 get_fields() は、次のように2つの ... 引数を受け取り、どのフィールドを返すのかを制御できます。 include_parents デフォルトは True 。親クラスで定義されたフィールドを再帰的に含めます。 False に設定した場合、 get_fields() は現在のモデル上 ... ... r the time being, developers whose applications are affected by this change should replace the use of inlines in read-only parents with custom forms and views that explicitly implement the desired functionality. In the longer term, adding a documented, ... ... r the time being, developers whose applications are affected by this change should replace the use of inlines in read-only parents with custom forms and views that explicitly implement the desired functionality. In the longer term, adding a documented, ... ... elds に含まれない限り更新されないことを意味します。 オブジェクトを削除する Model. delete ( using = DEFAULT_DB_ALIAS , keep_parents = False ) [ソース] Model. adelete ( using = DEFAULT_DB_ALIAS , keep_parents = False ) 非同期バージョン : adelete() Issues ... ッドをオーバーライドする を参照してください。 マルチテーブル継承 では、子モデルのデータだけを削除したい場合があります。 keep_parents=True を指定すると、親モデルのデータを保持します。 Changed in Django 6.1: Support for the DB_* variants of on_delete attrib ... ... nt rows will be returned only if there is a relationship to some 17-year-old child named Jamal, rather than also returning parents who merely have a younger or older child named Jamal in addition to some other 17-year-old. See the 複数の値を持つリレーシ ... ... allow executing one query regardless of the number of objects being added rather than one query per object. Added the keep_parents parameter to Model.delete() to allow deleting only a child's data in a model that uses multi-table inheritance. Model.dele ... 2026年10月08日