Django 配置中文和中国时间 在settings.py 中配置: 1 LANGUAGE_CODE = 'zh-Hans' 2 3 TIME_ZONE = 'Asia/Shanghai' 4 5 USE_TZ = False