Loading django/db/migrations/optimizer.py +2 −2 Original line number Diff line number Diff line Loading @@ -163,8 +163,8 @@ class MigrationOptimizer(object): """ Folds a CreateModel and a DeleteModel into nothing. """ if operation.name.lower() == other.name.lower() and \ not operation.options.get("proxy", False): if (operation.name.lower() == other.name.lower() and not operation.options.get("proxy", False)): return [] def reduce_model_alter_delete(self, operation, other, in_between): Loading django/db/migrations/autodetector.py +3 −3 File changed.Contains only whitespace changes. Show changes tests/migrations/test_operations.py +2 −2 File changed.Contains only whitespace changes. Show changes Loading
django/db/migrations/optimizer.py +2 −2 Original line number Diff line number Diff line Loading @@ -163,8 +163,8 @@ class MigrationOptimizer(object): """ Folds a CreateModel and a DeleteModel into nothing. """ if operation.name.lower() == other.name.lower() and \ not operation.options.get("proxy", False): if (operation.name.lower() == other.name.lower() and not operation.options.get("proxy", False)): return [] def reduce_model_alter_delete(self, operation, other, in_between): Loading
django/db/migrations/autodetector.py +3 −3 File changed.Contains only whitespace changes. Show changes
tests/migrations/test_operations.py +2 −2 File changed.Contains only whitespace changes. Show changes