django/tests/field_deconstruction
Simon Charette 4328970780 Fixed #33366 -- Fixed case handling with swappable setting detection in migrations autodetector.
The migration framework uniquely identifies models by case insensitive
labels composed of their app label and model names and so does the app
registry in most of its methods (e.g. AppConfig.get_model) but it
wasn't the case for get_swappable_settings_name() until this change.

This likely slipped under the radar for so long and only regressed in
b9df2b74b9 because prior to the changes
related to the usage of model states instead of rendered models in the
auto-detector the exact value settings value was never going through a
case folding hoop.

Thanks Andrew Chen Wang for the report and Keryn Knight for the
investigation.
2021-12-17 07:46:58 +01:00
..
__init__.py Ported over Field.deconstruct() from my schema alteration branch. 2013-06-28 17:27:52 +01:00
tests.py Fixed #33366 -- Fixed case handling with swappable setting detection in migrations autodetector. 2021-12-17 07:46:58 +01:00