Set TIME_ZONE to Asia/Shanghai, USE_TZ=True, LANGUAGE_CODE=zh-hans
This commit is contained in:
@@ -59,3 +59,8 @@ DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
|
|||||||
STATIC_URL = "static/"
|
STATIC_URL = "static/"
|
||||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 50 * 1024 * 1024
|
DATA_UPLOAD_MAX_MEMORY_SIZE = 50 * 1024 * 1024
|
||||||
STATIC_ROOT = "/app/staticfiles"
|
STATIC_ROOT = "/app/staticfiles"
|
||||||
|
|
||||||
|
# Timezone: Asia/Shanghai (UTC+8)
|
||||||
|
TIME_ZONE = "Asia/Shanghai"
|
||||||
|
USE_TZ = True
|
||||||
|
LANGUAGE_CODE = "zh-hans"
|
||||||
|
|||||||
Reference in New Issue
Block a user