django1/tests/migrations
Mariusz Felisiak bf77669453
Fixed #29998 -- Allowed multiple OneToOneFields to the parent model.
We assumed that any OneToOneField's in a child model must be the
parent link and raised an error when parent_link=True was not
specified. This patch allows to specify multiple OneToOneField's to
the parent model.

OneToOneField's without a custom related_name will raise fields.E304
and fields.E305 so this should warn users when they try to override
the auto-created OneToOneField.
2020-01-16 08:06:16 +01:00
..
deprecated_field_migrations Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
faulty_migrations
migrations_test_apps Fixed #25884 -- Fixed migrate --run-syncdb when specifying an app label. 2018-11-14 18:22:59 -05:00
related_models_app
test_add_many_to_many_field_initial Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_auto_now_add Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_fake_initial_case_insensitive Refs #29808 -- Fixed MigrateTests.test_migrate_fake_initial_case_insensitive() crash on Oracle. 2019-11-15 21:05:42 +01:00
test_migrations Fixed #28152 -- Made migrations serialize sets as set literals rather than set(). 2017-05-18 09:33:40 -04:00
test_migrations_atomic_operation Fixed #28386 -- Made operations within non-atomic migrations honor the operation's atomic flag when migrating backwards. 2017-08-10 19:21:14 -04:00
test_migrations_backwards_deps_1 Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_bad_pyc Fixed #29498 -- Fixed a missing pyc test file in source distribution. 2018-06-15 14:18:08 -04:00
test_migrations_clashing_prefix Added tests for migrate logging and error messages. 2018-07-20 20:37:52 -04:00
test_migrations_conflict Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_custom_user Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_empty
test_migrations_fake_split_initial Fixed #28152 -- Made migrations serialize sets as set literals rather than set(). 2017-05-18 09:33:40 -04:00
test_migrations_first Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_initial_false Fixed #28152 -- Made migrations serialize sets as set literals rather than set(). 2017-05-18 09:33:40 -04:00
test_migrations_namespace_package Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file. 2019-10-10 08:31:41 +02:00
test_migrations_no_ancestor Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_no_changes Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_no_default Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_no_init Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py. 2018-01-31 09:36:36 -05:00
test_migrations_no_operations Fixed #30595 -- Added error message when no objects found to sql* management commands. 2019-07-01 13:47:54 +02:00
test_migrations_non_atomic Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_order Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_plan Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan. 2019-10-14 11:13:27 +02:00
test_migrations_private Fixed #29749 -- Made the migrations loader ignore files starting with a tilde or underscore. 2018-09-11 12:51:11 -04:00
test_migrations_run_before Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_complex Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_complex_multi_apps Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_erroneous Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_extra Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_squashed_ref_squashed Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
test_migrations_unmigdep Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
__init__.py
models.py Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
routers.py Refs #23919 -- Stopped inheriting from object to define new style classes. 2017-01-19 08:39:46 +01:00
test_autodetector.py Fixed #30868 -- Prevented unnecessary AlterField when renaming a referenced pk. 2019-10-14 08:02:26 +02:00
test_base.py Used more specific unittest assertions in tests. 2019-10-29 12:37:30 +01:00
test_commands.py Fixed #29808 -- Fixed initial migration detection when identifiers are case-insensitive. 2019-11-15 09:01:30 +01:00
test_deprecated_fields.py
test_exceptions.py Fixed #26342 -- Prevented unpacking when repr a NodeNotFoundError 2016-03-10 17:27:35 +11:00
test_executor.py Refs #30186 -- Changed MigrationRecorder.applied_migrations() to return a dict. 2019-03-07 19:36:55 -05:00
test_graph.py Fixed #29243 -- Improved efficiency of migration graph algorithm. 2018-09-10 09:57:31 -04:00
test_loader.py Fixed #30300 -- Allowed migrations to be loaded from directories without __init__.py file. 2019-10-10 08:31:41 +02:00
test_multidb.py Moved migrations.test_operations.OperationTestBase to migrations.test_base. 2019-08-19 16:06:14 +02:00
test_operations.py Refs #30591 -- Fixed too long identifier crash in migrations.test_operations on MySQL 8.0.16+. 2019-09-11 12:20:16 +02:00
test_optimizer.py Made assertOptimizesTo() more strict in migrations tests. 2019-01-21 17:29:46 -05:00
test_questioner.py Fixed #29595 -- Allowed using timedelta in migrations questioner. 2018-07-27 11:53:49 -04:00
test_state.py Fixed #29998 -- Allowed multiple OneToOneFields to the parent model. 2020-01-16 08:06:16 +01:00
test_writer.py Fixed #27914 -- Fixed serialization of nested classes in migrations. 2019-11-25 11:12:44 +01:00