Fixed #32675 -- Doc'd that autodector changes might cause generation of no-op migrations.

Follow up to aa4acc164d.
This commit is contained in:
David Wobrock 2021-04-28 21:21:33 +02:00 committed by Mariusz Felisiak
parent ee3b719a81
commit 4ab3ef238e
1 changed files with 4 additions and 0 deletions

View File

@ -392,6 +392,10 @@ Miscellaneous
* Tests that fail to load, for example due to syntax errors, now always match * Tests that fail to load, for example due to syntax errors, now always match
when using :option:`test --tag`. 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: .. _deprecated-features-4.0:
Features deprecated in 4.0 Features deprecated in 4.0