1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/migrations
Marten Kenbeek 15dc8d1c9d Fixed #24291 - Fixed migration ModelState generation with unused swappable models
Swapped out models don't have a _default_manager unless they have
explicitly defined managers. ModelState.from_model() now accounts for
this case and uses an empty list for managers if no explicit managers
are defined and a model is swapped out.
2015-02-18 19:05:10 +01:00
..
deprecated_field_migrations Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
faulty_migrations Refactored tests that rely on an ImportError for Python 3.5 compatibility 2015-02-03 18:30:46 -05:00
migrations_test_apps Refs #24264 -- Added failing test case for updating a FK when changing a PK 2015-02-16 19:31:51 +01:00
related_models_app Added tests for get_related_models_recursive 2015-02-16 19:31:52 +01:00
test_migrations
test_migrations_backwards_deps_1
test_migrations_conflict
test_migrations_custom_user Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_migrations_empty Fixed #23359 -- Added showmigrations command to list migrations and plan. 2014-12-31 14:14:28 -05:00
test_migrations_first
test_migrations_no_ancestor
test_migrations_no_changes Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_migrations_no_default Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_migrations_run_before
test_migrations_squashed
test_migrations_squashed_complex Fixed #24098 -- Added no-op attributes to RunPython and RunSQL 2015-01-09 10:31:32 -05:00
test_migrations_squashed_complex_multi_apps Fixed #24098 -- Added no-op attributes to RunPython and RunSQL 2015-01-09 10:31:32 -05:00
test_migrations_squashed_erroneous Fixed #24098 -- Added no-op attributes to RunPython and RunSQL 2015-01-09 10:31:32 -05:00
test_migrations_unmigdep
__init__.py
models.py Refs #23822 -- Made MigrationOptimizer aware of model managers 2015-01-07 17:33:04 -05:00
test_autodetector.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_base.py
test_commands.py Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 2015-02-17 19:03:03 -05:00
test_deprecated_fields.py Removed IPAddressField per deprecation timeline; refs #20439. 2015-01-19 11:12:57 -05:00
test_executor.py Refs #24264 -- Added failing test case for updating a FK when changing a PK 2015-02-16 19:31:51 +01:00
test_graph.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_loader.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_multidb.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_operations.py Refs #24282 -- Added failing test case for assigning models of wrong type to FK 2015-02-16 19:31:51 +01:00
test_optimizer.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
test_state.py Fixed #24291 - Fixed migration ModelState generation with unused swappable models 2015-02-18 19:05:10 +01:00
test_writer.py Refs #24324 -- Fixed Python 2 test failures when path to Django source contains non-ASCII characters. 2015-02-17 19:03:03 -05:00