Drop locale support
This commit is contained in:
parent
f1965c6331
commit
2884b07e7c
1 changed files with 0 additions and 18 deletions
|
@ -50,7 +50,6 @@ MIDDLEWARE_CLASSES = (
|
|||
# Make sure djangosecure.middleware.SecurityMiddleware is listed first
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
'django.middleware.locale.LocaleMiddleware',
|
||||
'django.middleware.common.CommonMiddleware',
|
||||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
|
@ -102,23 +101,6 @@ DATABASES['default']['ATOMIC_REQUESTS'] = True
|
|||
# In a Windows environment this must be set to your system time zone.
|
||||
TIME_ZONE = 'UTC'
|
||||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#language-code
|
||||
LANGUAGE_CODE = 'en'
|
||||
|
||||
LANGUAGES = (
|
||||
('en', _('English')),
|
||||
)
|
||||
|
||||
LOCALE_PATHS = [
|
||||
'locale',
|
||||
]
|
||||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#use-i18n
|
||||
USE_I18N = True
|
||||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#use-l10n
|
||||
USE_L10N = True
|
||||
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#use-tz
|
||||
USE_TZ = True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue