django1/django/db
Simon Charette 1d16c5d562 Refs #27666 -- Ensured relationship consistency on delayed reloads.
Delayed reloads of state models broke identity based relationships
between direct and non-direct ancestors.

Basing models.Options related objects map of model labels instead of
their identity ensured relationship consistency is maintained.

Refs #30966.

Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
2020-04-07 09:20:46 +02:00
..
backends Fixed #31030 -- Registered SQLite functions as deterministic on Python 3.8+. 2020-04-06 11:26:00 +02:00
migrations Fixed #23916 -- Allowed makemigrations to handle related model name case changes. 2020-03-25 10:39:34 +01:00
models Refs #27666 -- Ensured relationship consistency on delayed reloads. 2020-04-07 09:20:46 +02:00
__init__.py Removed an outdated comment on DefaultConnectionProxy. 2019-02-20 11:30:51 -05:00
transaction.py Fixed #30116 -- Dropped support for Python 3.5. 2019-01-30 10:19:48 -05:00
utils.py Fixed #25388 -- Added an option to allow disabling of migrations during test database creation. 2019-11-20 20:42:38 +01:00