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

avoid generating migrations based on settings.LANGUAGE #186

Merged
merged 4 commits into from
Sep 24, 2023

Conversation

vasekch
Copy link
Contributor

@vasekch vasekch commented Jul 19, 2023

I've created this change to avoid having missing migrations every time settings.LANGUAGE is changed.

It removes original choices from model to avoid migration detection - the functionality is still there as choices are injected to the language attribute inside constructor

@fsbraun fsbraun requested a review from marksweb July 20, 2023 19:38
@vasekch
Copy link
Contributor Author

vasekch commented Jul 26, 2023

ready to be merged after #189

@marksweb marksweb force-pushed the fix/unnecessary-migrations branch from 3fb06f9 to 12c6e82 Compare September 24, 2023 23:07
@marksweb marksweb merged commit 961754c into django-cms:master Sep 24, 2023
9 checks passed
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.

3 participants