Skip to content

Fix spurious language field migrations and add USER_LANGUAGES#1247

Open
noeddl wants to merge 2 commits intomainfrom
noeddl/user-languages
Open

Fix spurious language field migrations and add USER_LANGUAGES#1247
noeddl wants to merge 2 commits intomainfrom
noeddl/user-languages

Conversation

@noeddl
Copy link
Copy Markdown
Contributor

@noeddl noeddl commented Apr 15, 2026

  • Replace inline use of settings.LANGUAGE_CODE and settings.LANGUAGES with callables so changes to these settings no longer trigger new migrations (see also 🐛 Fix spurious language field migrations across projects django-filingcabinet#101).
  • Add new settings variable USER_LANGUAGES to allow for defining a separate set of languages to be used in user dialogues, e.g. to exclude de-ls from user language choice in the account settings.

noeddl added 2 commits April 15, 2026 13:47
Replace inline use of settings.LANGUAGE_CODE and settings.LANGUAGES with callables so changes to these settings no longer trigger new migrations.
@noeddl noeddl requested a review from stefanw April 15, 2026 12:35
@noeddl
Copy link
Copy Markdown
Contributor Author

noeddl commented Apr 15, 2026

Tests fail because okfde/django-filingcabinet#101 has to be merged first.

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.

1 participant