Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix migrate m2m add、change and remove #288

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

CaptionLittleBird
Copy link

dictdiffer.diff is not friendly to check the list. It can only check the difference between the elements of the same index of two lists, but the old_m2m_fields and new_m2m_fields The elements of these two lists are not sorted, and it is easy to compare errors. The function in this submission can sort these two lists according to the through keyword. Now you can add and delete many to many fields

@CaptionLittleBird
Copy link
Author

Sorry, he can't directly create many-to-many fields when creating the table model. My mistake

@zemf4you
Copy link

Please, someone take care of this

@CaptionLittleBird
Copy link
Author

CaptionLittleBird commented Sep 23, 2023 via email

@brkastner
Copy link

just tested this on a local fork and it worked perfectly. can we please get this merged? @long2ice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants