Re: Suggestion: Limit activated languages to settings.LANGUAGES

2022-11-17 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I do like this suggestion. I also find the current behaviour surprising. Do you have a plan for implementation? I guess this would have to go through the regular deprecation pathway? ‪On Tue, Oct 4, 2022 at 4:32 PM ‫אורי‬‎ wrote:‬ > Hi Shai, > > Actually, I think this issue is very similar to w

Re: Suggestion: Limit activated languages to settings.LANGUAGES

2022-10-04 Thread אורי
Hi Shai, Actually, I think this issue is very similar to what I wrote in the thread of "Model-level validation". I have been using Django for 6 years, and I was not aware that one can call translation.activate() with a language not in django_settings.LANGUAGES. I was thinking this would raise an e