From 4ab3ef238edfa7c7b7c2c4420c7ae5b722bde121 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Wed, 28 Apr 2021 21:21:33 +0200 Subject: [PATCH] Fixed #32675 -- Doc'd that autodector changes might cause generation of no-op migrations. Follow up to aa4acc164d1247c0de515c959f7b09648b57dc42. --- docs/releases/4.0.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index faf3d0fa1e..ab65c31094 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -392,6 +392,10 @@ Miscellaneous * Tests that fail to load, for example due to syntax errors, now always match when using :option:`test --tag`. +* The migrations autodetector now uses model states instead of model classes. + As a side-effect ``makemigrations`` might generate no-op ``AlterField`` + operations for ``ForeignKey`` fields in some cases. + .. _deprecated-features-4.0: Features deprecated in 4.0