Django设置中国时区和语言

LANGUAGE_CODE = 'zh-Hans'

TIME_ZONE = 'Asia/Shanghai'

 

posted @ 2022-05-09 13:25  富贵平安。  阅读(20)  评论(0)    收藏  举报