django1/django
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
..
apps Fixed #33366 -- Fixed case handling with swappable setting detection in migrations autodetector. 2021-12-17 07:46:58 +01:00
conf Updated translations from Transifex. 2021-12-06 20:31:03 +01:00
contrib Fixed admin CSS for calendar widget for RTL languages. 2021-12-16 08:11:13 +01:00
core Fixed #33361 -- Fixed Redis cache backend crash on booleans. 2021-12-14 07:16:30 +01:00
db Fixed #33358 -- Fixed handling timedelta < 1 day in schema operations on Oracle. 2021-12-14 09:08:25 +01:00
dispatch Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert" in various code. 2021-06-25 06:55:47 +02:00
forms Moved ManagementForm's fields to class attributes. 2021-12-10 10:04:28 +01:00
http Updated various links to HTTPS and new locations. 2021-12-02 11:27:29 +01:00
middleware Refs #32800 -- Renamed _sanitize_token() to _check_token_format(). 2021-11-29 10:48:31 +01:00
template Refs #32290 -- Optimized construct_relative_path() by delay computing has_quotes. 2021-12-08 08:17:54 +01:00
templatetags Fixed #32365 -- Made zoneinfo the default timezone implementation. 2021-09-16 12:11:05 +02:00
test Fixed #33346 -- Fixed SimpleTestCase.assertFormsetError() crash on a formset named "form". 2021-12-08 20:33:03 +01:00
urls Fixed #33351 -- Made path()/re_path() raise TypeError when kwargs argument is not a dict. 2021-12-13 08:09:28 +01:00
utils Fixed #30127 -- Deprecated name argument of cached_property(). 2021-12-16 18:52:27 +01:00
views Fixed #33350 -- Reallowed using cache decorators with duck-typed HttpRequest. 2021-12-16 20:13:17 +01:00
__init__.py Bumped version; main is now 4.1 pre-alpha. 2021-09-20 21:23:01 +02:00
__main__.py Fixed #24857 -- Added "python -m django" entry point. 2015-09-07 19:54:32 -04:00
shortcuts.py Refs #32956 -- Changed docs to treat the acronym HTTP phonetically. 2021-10-18 21:00:28 +02:00