mirror of
https://github.com/django/django.git
synced 2024-12-29 04:26:28 +00:00
9f632dc702
This also prevents state modifications from corrupting previous states.
Previously, when a model defining a relation was unregistered first,
clearing the cache would cause its related models' _meta to be cleared
and would result in the old models losing track of their relations.
Backport of
|
||
---|---|---|
.. | ||
faulty_migrations | ||
migrations_test_apps | ||
related_models_app | ||
test_migrations | ||
test_migrations_backwards_deps_1 | ||
test_migrations_conflict | ||
test_migrations_custom_user | ||
test_migrations_empty | ||
test_migrations_first | ||
test_migrations_no_ancestor | ||
test_migrations_no_changes | ||
test_migrations_no_default | ||
test_migrations_run_before | ||
test_migrations_squashed | ||
test_migrations_squashed_complex | ||
test_migrations_squashed_complex_multi_apps | ||
test_migrations_squashed_erroneous | ||
test_migrations_unmigdep | ||
__init__.py | ||
models.py | ||
test_autodetector.py | ||
test_base.py | ||
test_commands.py | ||
test_executor.py | ||
test_graph.py | ||
test_loader.py | ||
test_multidb.py | ||
test_operations.py | ||
test_optimizer.py | ||
test_state.py | ||
test_writer.py |