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

[1.11.x] Fixed #25192 -- Let migrations using RunPython.noop be squashed with Python 2 #7985

Closed
wants to merge 2 commits into from

Conversation

shaib
Copy link
Member

@shaib shaib commented Jan 29, 2017

This is suggested for 1.11.x only, as master doesn't support Python 2 anymore.

initial = True

operations = [
migrations.CreateModel(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need operations in here? Shouldn't a single RunPython operation in 0002 be enough to squash 0001 and 0002?

@timgraham
Copy link
Member

merged in 437e0ba, thanks!

@timgraham timgraham closed this Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants