django 设置中文 和上海时间
1. 后台中文设置:
1.1 修改settings.py
LANGUAGE_CODE = 'zh_Hans'('zh-Hans')
2. 修改上海时区:
1.1 修改settings.py
TIME_ZONE = 'Asia/Shanghai'
USE_TZ = True
转载于:https://my.oschina.net/bklyy/blog/1814546
参考 https://blog.csdn.net/weixin_33951761/article/details/91645618?ops