... 、Django はそれを新しいマイグレーションファイル群に書き戻します。 These files are marked to say they replace the previously-squashed migrations, so they can coexist with the old migration files, and Django will intelligently switch between them depending ... on where you are in the history. If you're still part-way through the set of migrations that you squashed, it will keep using them until it hits the end and then switch to the squashed history, while new installs will use the ne ... w squashed migration and skip all the old ones. これにより、まだ完全に最新の状態ではない本番システムを混乱させずにマイグレーションを圧 ... ... paths with dot segments. バグ修正 Fixed an admin layout issue in Django 3.1 where changelist filter controls would become squashed ( #32391 ). ... ... ting objects ( #24831 ). Allowed using choices longer than 1 day with DurationField ( #24897 ). Fixed a crash when loading squashed migrations from two apps with a dependency between them, where the dependent app's replaced migrations are partially appli ... ed ( #24895 ). Fixed recording of applied status for squashed (replacement) migrations ( #24628 ). Fixed queryset annotations when using Case expressions with exclude() ( #24833 ). Cor ... ... n ( #25176 ). Fixed has_changed() method in contrib.postgres.forms.HStoreField ( #25215 , #25233 ). Fixed the recording of squashed migrations when running the migrate command ( #25231 ). Moved the unsaved model instance assignment data loss check to Mod ... ... _key=True ( #26983 ). Prevented the migrate command from raising InconsistentMigrationHistory in the presence of unapplied squashed migrations ( #27004 ). Fixed a regression in Client.force_login() which required specifying a backend rather than automati ... ... Common utilities, such as django.conf.settings , are now automatically imported to the shell by default. マイグレーション Squashed migrations can now themselves be squashed before being transitioned to normal migrations. Migrations now support serializa ... ... identity column. On MySQL, dbshell now supports client-side TLS certificates. マイグレーション The new squashmigrations --squashed-name option allows naming the squashed migration. モデル The new StrIndex database function finds the starting index of a ... ... re the Trac flags on the ticket are set so that the ticket appears in that queue. All tickets Is the pull request a single squashed commit with a message that follows our commit message format ? Are you the patch author and a new contributor? Please add ... ... その動作について Django バグレポートを提出してください。 --noinput , --no-input すべてのユーザープロンプトを表示しません。 --squashed-name SQUASHED_NAME スカッシュされたマイグレーションの名前を設定します。省略した場合は、最初と最後のマイグレーションの間に ... _squashed_ を加えた名前になります。 --no-header Django のバージョンとタイムスタンプのヘッダなしで、スカッシュしたマイグレーションファ ... ... s this behavior. The squashmigrations command now supports specifying the starting migration from which migrations will be squashed. モデル QuerySet.bulk_create() now works on proxy models. Database configuration gained a TIME_ZONE option for interacting ... 2026年10月08日