Changement sur la base

This commit is contained in:
Ambulance Clerc
2023-10-10 13:39:33 +02:00
parent 2adcdfcb4a
commit 0696e744cc
4 changed files with 5 additions and 163 deletions

View File

@@ -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"),