Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/custom_migration_operations
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #24093 -- Prevented MigrationWriter to write ↵Markus Holtermann2015-01-081-0/+61
| | | | operation kwargs that are not explicitly deconstructed
* Fixed #23844 -- Used topological sort for migration ↵Patryk Zawadzki2014-11-202-0/+14
| | | | | | | | | | | | | | | 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 #22788 -- Ensured custom migration operations can ↵Matthew Schinckel2014-06-163-0/+48
be written. This inspects the migration operation, and if it is not in the django.db.migrations module, it adds the relevant imports to the migration writer and uses the correct class name.