Clean up some ChangeField logic in preparation for field type changes.

Review Request #12230 — Created April 8, 2022 and submitted — Latest diff uploaded

Information

Django Evolution
release-2.x

Reviewers

This is a small change to ChangeField.mutate() that splits out some
logic into a helper function and removes redundant variable access.

There are no behavioral changes here, just preparation for some larger
upcoming changes to this class.

Unit tests pass.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Clean up some ChangeField logic in preparation for field type changes.
This is a small change to `ChangeField.mutate()` that splits out some logic into a helper function, reorders some code, and removes redundant variable access. There's no behavioral changes here, just preparation for some larger upcoming changes to this class.
9826429ff8d2ab3adaa455978e6e93295d8e299c Christian Hammond
django_evolution/mutations/change_field.py
Loading...