| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-01-25 | Simplified tests with assertDoesNotOptimize(). | Ed Morley | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2017-01-10 | Fixed #27717 -- Allowed migration optimization across AlterModelOptions. | Ed Morley | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2016-06-06 | Fixed #26710 -- Made CreateModel.references_model() take app_label into account. | Sergey Fedoseev | |
| 2016-04-27 | Fixed #26521 -- Validated CreateModel bases, fields and managers for duplicates. | James Robert | |
| 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-09-12 | Fixed #23395 -- Limited line lengths to 119 characters. | Dražen Odobašić | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 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-05-20 | Refs #24652 -- Used SimpleTestCase where appropriate. | Simon Charette | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-07 | Refs #23822 -- Made MigrationOptimizer aware of model managers | Markus Holtermann | |
| 2014-11-20 | Fixed #23844 -- Used topological sort for migration operation dependency ↵ | Patryk Zawadzki | |
| resolution. This removes the concept of equality between operations to guarantee compatilibity with Python 3. Python 3 requires equality to result in identical object hashes. It's impossible to implement a unique hash that preserves equality as operations such as field creation depend on being able to accept arbitrary dicts that cannot be hashed reliably. Thanks Klaas van Schelven for the original patch in 13d613f80011852404198dfafd1f09c0c0ea42e6. | |||
| 2014-06-22 | Fixed #22875: Optimizer did not take through= into account. | Andrew Godwin | |
| 2014-05-15 | Harmonized some PEP 0263 coding preambles | Claude Paroz | |
| 2013-11-06 | flake8 fixes | Alex Gaynor | |
| 2013-11-06 | Massive migration optimiser improvements + RenameModel opn | Andrew Godwin | |
| 2013-11-03 | Fixed all E251 violations | Alex Gaynor | |
| 2013-11-02 | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | |
| 2013-10-16 | Improve migration optimizer to be able to optimize through other ops | Andrew Godwin | |
| 2013-10-02 | Initial version of MigrationOptimizer and tests | Andrew Godwin | |
