django3.0开始LANGUAGE_CODE必须声明一个元组组成的列表LANGUAGES
LANGUAGES = [
('zh-Hans', 'Chinese')
]
# LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'zh-Hans'
# TIME_ZONE = 'UTC'
TIME_ZONE = 'Asia/Shanghai']
django3.0开始LANGUAGE_CODE必须声明一个元组组成的列表LANGUAGES
LANGUAGES = [
('zh-Hans', 'Chinese')
]
# LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'zh-Hans'
# TIME_ZONE = 'UTC'
TIME_ZONE = 'Asia/Shanghai']