python - How i get the current language in django? -


How do I obtain the current language in a model or admin in the current thread?

Special jobs are of interest django.utils.translation.get_language () See the current thread which gives the language used.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -