locky 3 лет назад
Родитель
Сommit
bf9c44da51
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      Ansjer/cn_config/test_settings.py

+ 1 - 3
Ansjer/cn_config/test_settings.py

@@ -138,9 +138,7 @@ TIME_ZONE = 'Asia/Shanghai'
 # TIME_ZONE = 'UTC'
 USE_I18N = True
 USE_L10N = True
-USE_TZ = False
-CELERY_ENABLE_UTC = False
-DJANGO_CELERY_BEAT_TZ_AWARE = False
+USE_TZ = True
 
 # 跨域增加忽略
 CORS_ALLOW_CREDENTIALS = True