Set TIME_ZONE to Asia/Shanghai, USE_TZ=True, LANGUAGE_CODE=zh-hans

This commit is contained in:
ishenwei
2026-04-08 11:57:49 +08:00
parent c474c9404b
commit d7498f8954

View File

@@ -59,3 +59,8 @@ DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
STATIC_URL = "static/"
DATA_UPLOAD_MAX_MEMORY_SIZE = 50 * 1024 * 1024
STATIC_ROOT = "/app/staticfiles"
# Timezone: Asia/Shanghai (UTC+8)
TIME_ZONE = "Asia/Shanghai"
USE_TZ = True
LANGUAGE_CODE = "zh-hans"