在项目路由下的settings.py配置文件中修改以下代码: LANGUAGE_CODE = \'zh-hans\'TIME_ZONE = \'Asia/Shanghai\'USE_TZ = False