Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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: http://code.djangoproject.com/svn/django/trunk@8606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3b993b29954addeba4a0ddbb58aeeeeeaa87c5cf 1 parent 8226b8c
Malcolm Tredinnick authored August 27, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/utils/translation/trans_real.py
2  django/utils/translation/trans_real.py
@@ -389,7 +389,7 @@ def get_language_from_request(request):
389 389
                     'django.mo')
390 390
             if os.path.exists(langfile):
391 391
                 _accepted[normalized] = lang
392  
-            return lang
  392
+                return lang
393 393
 
394 394
     return settings.LANGUAGE_CODE
395 395
 

0 notes on commit 3b993b2

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