Select correct locale and timezone

This commit is contained in:
Raphael Michel
2014-09-14 15:10:34 +02:00
parent 0226b12840
commit fb07769223
8 changed files with 189 additions and 3 deletions

View File

@@ -45,11 +45,11 @@ INSTALLED_APPS = (
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'tixlbase.middleware.LocaleMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'tixlcontrol.middleware.PermissionMiddleware',
@@ -85,7 +85,7 @@ DATABASES = {
# Internationalization
# https://docs.djangoproject.com/en/dev/topics/i18n/
LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'en'
TIME_ZONE = 'UTC'