locky 3 жил өмнө
parent
commit
683d6104a2

+ 3 - 1
Ansjer/cn_config/test_settings.py

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