Changement sur la base
This commit is contained in:
@@ -134,6 +134,7 @@ TEMPLATES = [
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
WSGI_APPLICATION = 'Reskreen.wsgi.application'
|
||||
|
||||
|
||||
@@ -191,27 +192,23 @@ AUTOMATIC_LOGIN_MAX_AGE = 500 * 60*60*24 # 500 jours
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/4.0/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = 'fr-CH'
|
||||
LANGUAGE_CODE = 'fr'
|
||||
|
||||
TIME_ZONE = 'Europe/Zurich'
|
||||
|
||||
USE_I18N = True
|
||||
USE_L10N = True
|
||||
USE_L10N = False
|
||||
|
||||
USE_TZ = False
|
||||
|
||||
DATE_FORMAT = "d.m.Y"
|
||||
gettext = lambda x: x
|
||||
LANGUAGES = (
|
||||
('fr', gettext('French')),
|
||||
('en', gettext('English')),
|
||||
)
|
||||
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/4.0/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
LOCALE_PATHS = (os.path.join(BASE_DIR, 'locale'),)
|
||||
|
||||
STATICFILES_DIRS = [
|
||||
os.path.join(BASE_DIR, "static"),
|
||||
|
Reference in New Issue
Block a user