LANGUAGE_CODE = 'zh-hans' TIME_ZONE = 'Asia/Shanghai' USE_I18N = True USE_L10N = True USE_TZ = False # 如果不改为False,Django就会把时间取为UTC(国际时间),改为Flase就是用本地时间