summaryrefslogtreecommitdiff
path: root/tests/custom_migration_operations
AgeCommit message (Collapse)Author
2024-02-09Fixed #35175 -- Made migraton writer preserve keyword-only arguments.David Sanders
Thanks Gerald Goh for the report.
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2015-01-07Fixed #24093 -- Prevented MigrationWriter to write operation kwargs that are ↵Markus Holtermann
not explicitly deconstructed
2014-11-20Fixed #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-16Fixed #22788 -- Ensured custom migration operations can be written.Matthew Schinckel
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.