ed7898e1b5
AlterFooTogether operations cannot be swapped with RemoveField operations on the same model as they could be removing the the same field as well. Since AlterFooTogether operations don't track what their previous value was, it's impossible to determine whether or not the optimization is safe so the only way to proceed is to disable the optimization. Thanks Ramiro Morales for the in-depth analysis of the issue. Refs #24828 |
||
---|---|---|
.. | ||
backends | ||
migrations | ||
models | ||
__init__.py | ||
transaction.py | ||
utils.py |