修改语言时区

detached
RogerWork 1 year ago
parent b2c341703f
commit e9ed2c8e90
  1. 4
      dingxin_toolbox_drf/settings.py

@ -110,9 +110,9 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/4.2/topics/i18n/ # https://docs.djangoproject.com/en/4.2/topics/i18n/
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'zh-hans'
TIME_ZONE = 'UTC' TIME_ZONE = 'Asia/Shanghai'
USE_I18N = True USE_I18N = True

Loading…
Cancel
Save