django1/django/db/migrations/operations
Markus Holtermann e470f311d6 Fixed #24828 -- Allowed migration optimization across 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
128caa1e16, these operations are optimized
in a later round of the optimizer.

Thanks Tim Graham for the review.
2015-06-16 00:43:22 +02:00
..
__init__.py Fixed #23822 -- Added support for serializing model managers in migration 2014-12-15 08:34:15 -05:00
base.py Fixed #23879 -- Allowed model migration skip based on feature/vendor 2015-04-18 15:17:49 +02:00
fields.py Renamed Field.rel attribute to remote_field 2015-03-25 08:16:12 -04:00
models.py Fixed #24828 -- Allowed migration optimization across AlterFooTogether 2015-06-16 00:43:22 +02:00
special.py Refs #24278 -- Allowed multi-line serializations in OperationWriter. 2015-04-05 20:19:24 +02:00