| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-01-29 | Refs #26022 -- Used context manager version of assertRaises in tests. | Hasan | |
| 2016-01-28 | Added a missing test method in tests/migrations/test_writer.py. | Yoong Kang Lim | |
| 2016-01-25 | Fixed #26135 -- Adjusted the migration questioner's handling of disabled apps. | Simon Charette | |
| This was causing an issue when calling the `migrate` command in a test case with the `available_apps` attribute pointing to an application with migrations disabled using the `MIGRATION_MODULES` setting. Thanks to Tim Graham for the review. Refs #24919 | |||
| 2016-01-23 | Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided. | Simon Charette | |
| Thanks to Markus Holtermann and Tim Graham for their review. | |||
| 2015-12-25 | Fixed #14286 -- Added models.BigAutoField. | Alexander Sosnovskiy | |
| 2015-12-19 | Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables. | Tim Graham | |
| 2015-12-18 | Fixed #25063 -- Added path to makemigration's output of migration file. | Niels Van Och | |
| 2015-12-15 | Fixed #25852 -- Made sure AlterModelManager forces a reload of its model state. | Simon Charette | |
| Thanks to Geoffrey Sechter and the Django NYC group for the report and Markus for the review. | |||
| 2015-12-10 | Refs #25896 -- Fixed migration test failure on Oracle | Shai Berger | |
| The test creates and deletes a model in the same migration, and the model had an AutoField. On Oracle, AutoField's are set up using deferred SQL, which in this case was trying to modify a table after it had dbeen removed. | |||
| 2015-12-09 | Fixed #25896 -- Fixed state bug in ↵ | Amos Onn | |
| SeparateDatabaseAndState.database_backwards(). | |||
| 2015-12-03 | Fixed many spelling mistakes in code, comments, and docs. | Josh Soref | |
| 2015-11-26 | Fixed #25807 -- Instructed the migration writer about lazy objects. | Simon Charette | |
| Thanks to Trac alias mrgaolei for the report, Baptiste for the confirmation and Tim for the review. | |||
| 2015-11-20 | Fixed #25551 -- Fixed migration operations ordering when adding fields and a ↵ | Ana Vojnovic | |
| unique_together constraint. | |||
| 2015-11-19 | Fixed #25764 -- Added support for serialization of enum.Enum in migrations. | Andrei Fokau | |
| Thanks Tim Graham for the review. | |||
| 2015-11-14 | Fixed #25745 -- Promoted RuntimeWarnings to errors in the test suite. | Simon Charette | |
| 2015-10-24 | Fixed #25604 -- Added makemigrations --check option. | Jon Dufresne | |
| Command exits with non-zero status if changes without migrations exist. | |||
| 2015-10-19 | Refs #18012 -- Accounted for reverse proxy relations in migrations. | Simon Charette | |
| Thanks to Markus for the suggestion and Tim for the review. | |||
| 2015-09-23 | Refs #23359 -- Removed the migrate --list option per deprecation timeline. | Tim Graham | |
| 2015-09-19 | Fixed #25390 -- Allowed specifying a start migration in squashmigrations | Markus Holtermann | |
| Thanks Tim Graham for the review. | |||
| 2015-09-19 | Fixed #24743, #24745 -- Optimized migration plan handling | Markus Holtermann | |
| The change partly goes back to the old behavior for forwards migrations which should reduce the amount of memory consumption (#24745). However, by the way the current state computation is done (there is no `state_backwards` on a migration class) this change cannot be applied to backwards migrations. Hence rolling back migrations still requires the precomputation and storage of the intermediate migration states. This improvement also implies that Django does not handle mixed migration plans anymore. Mixed plans consist of a list of migrations where some are being applied and others are being unapplied. Thanks Andrew Godwin, Josh Smeaton and Tim Graham for the review as well as everybody involved on the ticket that kept me looking into the issue. | |||
| 2015-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-09-12 | Refs #24919 -- Raised more helpful error message for disabled migrations | Markus Holtermann | |
| 2015-09-12 | Fixed #24919 -- Allowed disabling of migrations on a per app basis | Markus Holtermann | |
| 2015-09-07 | Refs #24215 -- Improved error message for unhandled lazy model operations. | Alex Hill | |
| 2015-08-31 | Fixed #25259 -- Added comments to header of generated migration files | Tyson Clugg | |
| 2015-08-28 | Refs #24590 -- Ensured isolation between autodetector tests | Markus Holtermann | |
| Fixed a regression introduced in e1427cc609fa6ab247501b101cfb3c0092aba55b when running tests in reverse order. | |||
| 2015-08-27 | Fixed #25280 -- Properly checked regex objects for equality to prevent ↵ | Markus Holtermann | |
| infinite migrations Thanks Sayid Munawar and Tim Graham for the report, investigation and review. | |||
| 2015-08-26 | Fixed #25308 -- Made MigrationQuestioner respect MIGRATION_MODULES setting. | Jeremy Satterfield | |
| 2015-08-20 | Fixed typo in tests/migrations/test_autodetector.py. | Tim Graham | |
| 2015-08-18 | Fixed #24755 -- Hid operations from dependency apps when merging migrations | Markus Holtermann | |
| Thanks Carl Meyer for the report and Tim Graham for the review. | |||
| 2015-08-14 | Fixed #25239 -- Corrected makemigrations numbering if a migration has a ↵ | Caio Ariede | |
| number-only filename. | |||
| 2015-08-08 | Used skipUnlessDBFeature where appropriate. | Simon Charette | |
| 2015-08-07 | Fixed #25231 -- Added recording of squashed migrations in the migrate command. | mlavin | |
| Ensured squashed migrations are recorded as applied when the migrate command is run and all of the original migrations have been previously applied. | |||
| 2015-07-29 | Fixed #25185 -- Added support for functools.partial serialization in migrations | Piper Merriam | |
| 2015-07-28 | Fixed #25186 -- Improved migration's serialization of builtins on Python 2. | Piper Merriam | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-07-13 | Fixed #24375 -- Added Migration.initial attribute | Andrei Kulakov | |
| The new attribute is checked when the `migrate --fake-initial` option is used. initial will be set to True for all initial migrations (this is particularly useful when initial migrations are split) as well as for squashed migrations. | |||
| 2015-07-02 | Fixed #25040 -- Fixed migrations state crash with GenericForeignKey | Kai Richard Koenig | |
| 2015-06-29 | Refs #20203 -- Allowed adding custom default manager to the model state | Andriy Sokolovskiy | |
| If the only manager on the model is the default manager defined by Django (`objects = models.Manager()`), this manager will not be added to the model state. If it is custom, it needs to be passed to the model state. | |||
| 2015-06-24 | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | |
| Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||
| 2015-06-23 | Used mock in MigrationQuestioner tests | Markus Holtermann | |
| Thanks Andriy Sokolovskiy and Simon Charette for the review. | |||
| 2015-06-18 | Removed support for Python 3.3. | Tim Graham | |
| 2015-06-16 | Fixed #24828 -- Allowed migration optimization across AlterFooTogether | Markus Holtermann | |
| The idea behind this change is, that AlterUniqueTogether, AlterIndexTogether and AlterOrderWithRespectTo can always be moved after an Add/Alter/Rename/RemoveField operation if they don't refer to the respective field and are not empty sets / None. Combined with the optimizations of duplicate AlterUniqueTogether, AlterIndexTogether, and AlterOrderWithRespectTo operations from 128caa1e16ec2627737748f75c8e55600a3df97f, these operations are optimized in a later round of the optimizer. Thanks Tim Graham for the review. | |||
| 2015-06-14 | Optimized duplicate AlterModelTable/AlterFooTogether/AlterOWRT | Markus Holtermann | |
| Thanks Andrew Godwin for the review. | |||
| 2015-06-14 | Took AlterOrderWithRespectTo into account when optimizing migrations | Markus Holtermann | |
| Thanks Andrew Godwin for the review. | |||
| 2015-06-03 | Cleaned up docstring style, per Tim Graham review. | Carl Meyer | |
| 2015-06-03 | Refs #24628 -- Added a second test and a docstring comment to avoid regression. | Carl Meyer | |
| 2015-06-02 | Fixed #24628 -- Fixed applied status for squashed migrations. | Carl Meyer | |
| 2015-06-02 | Improved isolation of applied-migrations table in migration tests. | Carl Meyer | |
| 2015-06-02 | Fixed #24895 -- Fixed loading a pair of squashed migrations with a dependency. | Carl Meyer | |
