(translation.E004) You have provided a value for the LANGUAGE_CODE setting that is not in the LAN...

django3.0开始LANGUAGE_CODE必须声明一个元组组成的列表LANGUAGES

LANGUAGES = [
    ('zh-Hans', 'Chinese')
]
# LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'zh-Hans'

# TIME_ZONE = 'UTC'
TIME_ZONE = 'Asia/Shanghai']

你可能感兴趣的:((translation.E004) You have provided a value for the LANGUAGE_CODE setting that is not in the LAN...)