... CharField or pointing to a CharField defined with primary_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 spe ... d) since it turned out the checks weren't suitable to be generalized like that ( #26998 ). Added the database alias to the InconsistentMigrationHistory message raised by makemigrations and migrate ( #27089 ). Fixed the creation of ContentType and Permission objects for mode ... ... commands now check for a consistent migration history . If they find some unapplied dependencies of an applied migration, InconsistentMigrationHistory is raised. The pre_migrate() and post_migrate() signals now dispatch their migration plan and apps . モデル Reverse foreig ... 2026年10月08日