Fix LANGUAGE_CODE environment variable

This commit is contained in:
Curtis Alexander 2024-04-04 10:19:10 +00:00 committed by GitHub
parent acf11d5ab8
commit efa3decc31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,7 @@ MYSQL_PASSWORD = os.environ.get("MYSQL_PASSWORD", '-')
MYSQL_PORT = os.environ.get("MYSQL_PORT", '3306')
#==========数据库配置 结束=====================
LANGUAGE_CODE = os.environ.get("MYSQL_PORT", 'zh-hans')
LANGUAGE_CODE = os.environ.get("LANGUAGE_CODE", 'zh-hans')
# Application definition
@ -170,4 +170,4 @@ LANGUAGES = (
LOCALE_PATHS = (
os.path.join(BASE_DIR, 'locale'),
)
)