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

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -