Skip to content
Browse files

Fixed #8584 -- Fixed a case where the wrong locale might be made acti…

…ve in the

locale detection loop. Thanks, Ramiro Morales.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8226b8c commit 3b993b29954addeba4a0ddbb58aeeeeeaa87c5cf @malcolmt malcolmt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/utils/translation/
2 django/utils/translation/
@@ -389,7 +389,7 @@ def get_language_from_request(request):
if os.path.exists(langfile):
_accepted[normalized] = lang
- return lang
+ return lang
return settings.LANGUAGE_CODE

0 comments on commit 3b993b2

Please sign in to comment.
Something went wrong with that request. Please try again.