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
Post a Comment