diff options
Diffstat (limited to 'module/web/settings.py')
-rw-r--r-- | module/web/settings.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/web/settings.py b/module/web/settings.py index dff1dc29d..2199ab221 100644 --- a/module/web/settings.py +++ b/module/web/settings.py @@ -64,7 +64,7 @@ TIME_ZONE = 'Europe' # Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
-LANGUAGE_CODE = 'en-us'
+LANGUAGE_CODE = 'en'
SITE_ID = 1
@@ -106,8 +106,9 @@ TEMPLATE_LOADERS = ( MIDDLEWARE_CLASSES = (
'django.middleware.gzip.GZipMiddleware',
'django.middleware.http.ConditionalGetMiddleware',
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
|