summaryrefslogtreecommitdiff
path: root/tests/custom_migration_operations
Commit message (Collapse)AuthorAgeFilesLines
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-30/+10
|
* Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are ↵Markus Holtermann2015-01-071-0/+61
| | | | not explicitly deconstructed
* Fixed #23844 -- Used topological sort for migration operation dependency ↵Patryk Zawadzki2014-11-202-0/+14
| | | | | | | | | | | | | | | 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 be written.Matthew Schinckel2014-06-163-0/+48
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.