Thanks Benjamin White for the report.
Previously, saving a model instance to a non-related field (in particular a FloatField) would silently convert the model to an Integer (the pk) and save it. This is undesirable behaviour, and likely to cause confusion so the validatio has been hardened. Thanks to @PirosB3 for the patch and @jarshwah for the review.
Fixed #22239 -- Add auto detection of renamed models
Thanks Aymeric Augustin for the report.
Many newbies don't know what a factory method is, nor is it pertinent to the information the tutorial hopes to convey.
Since we don't enforce order between apps, root packages of contrib apps cannot import models from unrelated apps. Fix #22005, refs #21719.
This reverts commit a718fcf.
Change database test settings from "TEST_"-prefixed entries in the database settings dictionary to setting in a dictionary that is itself an entry "TEST" in the database settings. Refs #21775 Thanks Josh Smeaton for review.
Fixed #22073 - Ensure CreateTable operation handles backwards migration correctly when M2M fields are present
Environment keys/values need to use native strings on some plateforms. Thanks anubhav joshi for detecting the issue and helping shaping the patch.
Refs #21188. Now pure Python DeprecationWarning visibility should be back to Python defaults.
…warnings Thanks Anssi Kääriäinen for the idea and Simon Charette for the review.
…lineModelAdmin. Thanks to jwa for the report.
Also fixed #22124 -- Expanded explanation of exactly what is going on in as_sql() methods.