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

makemigrations creates unneeded migrations #29

Open
smcoll opened this issue May 26, 2016 · 0 comments
Open

makemigrations creates unneeded migrations #29

smcoll opened this issue May 26, 2016 · 0 comments

Comments

@smcoll
Copy link
Contributor

smcoll commented May 26, 2016

The makemigrations management command will create a new migration for the model inheriting SignatureType whenever the keys in settings.ANYSIGN['BACKENDS'] change. This can happen if the setting has different values in different environments. makemigrations will bake the value derived from the first environment into a migration, and then migrate in the other environment will think the migrations are out of sync with the models.

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 a pull request may close this issue.

1 participant