Describe the bug
When you change your language settings to differ from the one used during lotus development, it will trigger a new pending migration since Django saw changes on language choices that comes from settings.
Environment
Not available, this produce on every environment.
Expected behavior
This should not happen since we use the callable hack on choices, but migration that alter related field should use the callable also, so Django can not see changes between choice settings and choice in migrations. But these callable hack have been forgotten during the last migration reboot.
Additional context
Since there is an ongoing v0.6.0 but v0.5.2 is already used in some production projet, we need to fix this in a v0.5.2.1 and then port it on v0.6.0 (if not already fixed).
Describe the bug When you change your language settings to differ from the one used during lotus development, it will trigger a new pending migration since Django saw changes on language choices that comes from settings.
Environment Not available, this produce on every environment.
To Reproduce Steps to reproduce the behavior:
Expected behavior This should not happen since we use the callable hack on choices, but migration that alter related field should use the callable also, so Django can not see changes between choice settings and choice in migrations. But these callable hack have been forgotten during the last migration reboot.
Additional context Since there is an ongoing v0.6.0 but v0.5.2 is already used in some production projet, we need to fix this in a v0.5.2.1 and then port it on v0.6.0 (if not already fixed).