Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/migrations/test_optimizer.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-4/+12
|
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-4/+4
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #24828 -- Allowed migration optimization across ↵Markus Holtermann2015-06-161-0/+152
| | | | | | | | | | | | | | | | AlterFooTogether 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.
* Optimized duplicate ↵Markus Holtermann2015-06-141-0/+39
| | | | | | AlterModelTable/AlterFooTogether/AlterOWRT Thanks Andrew Godwin for the review.
* Took AlterOrderWithRespectTo into account when ↵Markus Holtermann2015-06-141-3/+13
| | | | | | optimizing migrations Thanks Andrew Godwin for the review.
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+2
|
* Refs #23822 -- Made MigrationOptimizer aware of model ↵Markus Holtermann2015-01-071-22/+89
| | | | managers
* Fixed #23844 -- Used topological sort for migration ↵Patryk Zawadzki2014-11-201-32/+3
| | | | | | | | | | | | | | | operation dependency 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.
* Fixed #22875: Optimizer did not take through= into account.Andrew Godwin2014-06-221-0/+38
|
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
|
* flake8 fixesAlex Gaynor2013-11-071-2/+2
|
* Massive migration optimiser improvements + RenameModel opnAndrew Godwin2013-11-061-1/+194
|
* Fixed all E251 violationsAlex Gaynor2013-11-031-1/+1
|
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+0
|
* Improve migration optimizer to be able to optimize ↵Andrew Godwin2013-10-161-0/+62
| | | | through other ops
* Initial version of MigrationOptimizer and testsAndrew Godwin2013-10-021-0/+95