Update settings for locale
This commit is contained in:
parent
13b014e16e
commit
5abb9a3b30
1 changed files with 3 additions and 1 deletions
|
@ -63,6 +63,7 @@ INSTALLED_APPS = [
|
|||
MIDDLEWARE = [
|
||||
"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",
|
||||
|
@ -118,9 +119,10 @@ AUTH_PASSWORD_VALIDATORS = []
|
|||
LANGUAGE_CODE = "fr-fr"
|
||||
TIME_ZONE = CONFIG.get("time_zone", "CET")
|
||||
USE_I18N = True
|
||||
USE_L10N = True
|
||||
USE_TZ = True
|
||||
LOCALE_PATHS = [
|
||||
"locale",
|
||||
BASE_DIR.joinpath("locale"),
|
||||
]
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
|
|
Loading…
Reference in a new issue