Django1.9以后language code的'zh-cn'就被弃用了,现在应该使用'zh-hans'。修改settings.py为LANGUAGE_CODE = 'zh-hans'TIME_ZONE = 'Asia/Shanghai'
確定! 回上一頁