django中配置时间其实十分的简单只需要进入settings.py中将以下几个参数修改即可 LANGUAGE_CODE = 'zh-Hans'TIME_ZONE = 'Asia/Shanghai'USE_I18N = TrueUSE_L10N = TrueUSE_TZ = False