把 setting文件中的
1 LANGUAGE_CODE = 'en-us'
2TIME_ZONE = 'UTC'
USE_TZ = True
改为
LANGUAGE_CODE = 'zh-Hans'
TIME_ZONE = 'Asia/Shanghai'
USE_TZ = False
把 setting文件中的
1 LANGUAGE_CODE = 'en-us'
2TIME_ZONE = 'UTC'
USE_TZ = True
改为
LANGUAGE_CODE = 'zh-Hans'
TIME_ZONE = 'Asia/Shanghai'
USE_TZ = False