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? -

session - security issue: php login/logout script + back button -

Eclipse and GWT -