summaryrefslogtreecommitdiffstats
path: root/module/web/settings.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-03 16:18:03 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-03 16:18:03 +0100
commit5525a167566d5de569292f67857ec2454c8f5cd1 (patch)
treeeef4c2e685959d11e219750b0df8265f8438fc46 /module/web/settings.py
parentdownload resume working? (diff)
downloadpyload-5525a167566d5de569292f67857ec2454c8f5cd1.tar.xz
some l18n stuff
Diffstat (limited to 'module/web/settings.py')
-rw-r--r--module/web/settings.py5
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',
)