Skip to content

Commit

Permalink
Fixed #8584 -- Fixed a case where the wrong locale might be made acti…
Browse files Browse the repository at this point in the history
…ve in the

locale detection loop. Thanks, Ramiro Morales.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@8606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Aug 27, 2008
1 parent 8226b8c commit 3b993b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/utils/translation/trans_real.py
Expand Up @@ -389,7 +389,7 @@ def get_language_from_request(request):
'django.mo') 'django.mo')
if os.path.exists(langfile): if os.path.exists(langfile):
_accepted[normalized] = lang _accepted[normalized] = lang
return lang return lang


return settings.LANGUAGE_CODE return settings.LANGUAGE_CODE


Expand Down

0 comments on commit 3b993b2

Please sign in to comment.