locky 3 жил өмнө
parent
commit
bf9c44da51

+ 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