1
0
mirror of https://github.com/django/django.git synced 2024-12-29 04:26:28 +00:00
django/tests/migrations
Patryk Zawadzki 9f632dc702 [1.8.x] Fixed #24513 -- Made sure a model is only rendered once during reloads
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 0385dad073 from master
2015-04-07 14:56:33 +02:00
..
faulty_migrations
migrations_test_apps [1.8.x] Refs #24264 -- Added failing test case for updating a FK when changing a PK 2015-02-16 19:37:51 +01:00
related_models_app [1.8.x] Added tests for get_related_models_recursive 2015-02-16 19:38:10 +01:00
test_migrations
test_migrations_backwards_deps_1
test_migrations_conflict
test_migrations_custom_user [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
test_migrations_empty
test_migrations_first
test_migrations_no_ancestor
test_migrations_no_changes [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
test_migrations_no_default [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
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 [1.8.x] Fixed #24435 -- Prevented m2m field removal and addition in migrations when changing blank 2015-03-04 15:44:38 +01:00
test_base.py
test_commands.py [1.8.x] Fixed #24427 -- Stopped writing migration files in dry run mode when merging. 2015-03-16 19:45:55 -04:00
test_executor.py [1.8.x] Refs #24264 -- Added failing test case for updating a FK when changing a PK 2015-02-16 19:37:51 +01:00
test_graph.py [1.8.x] Fixed #24366 -- Optimized traversal of large migration dependency graphs. 2015-02-23 12:55:43 +01:00
test_loader.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
test_multidb.py [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
test_operations.py [1.8.x] Refs #24354 -- Prevented repointing of relations on superclasses when migrating a subclass's name change 2015-03-14 15:47:10 -04:00
test_optimizer.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
test_state.py [1.8.x] Fixed #24513 -- Made sure a model is only rendered once during reloads 2015-04-07 14:56:33 +02:00
test_writer.py [1.8.x] Fixed #24278 -- Fixed serialization of migration operations. 2015-04-05 20:29:27 +02:00