From 07b5021d4c2f9ab53ae5c56326477c76238c6572 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 1 May 2014 18:16:56 +0200 Subject: Bugfix. --- pyaggr3g470r/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py index e9b2e509..f9a44228 100644 --- a/pyaggr3g470r/views.py +++ b/pyaggr3g470r/views.py @@ -119,7 +119,7 @@ def get_locale(): Called before each request to give us a chance to choose the language to use when producing its response. """ - return "fr"#request.accept_languages.best_match(conf.LANGUAGES.keys()) + return request.accept_languages.best_match(conf.LANGUAGES.keys()) # -- cgit