修复BUG(修复celery时区问题): 修复celery时区问题

pull/36/MERGE
李强 2021-06-11 00:32:33 +08:00
parent 50d7043338
commit a85e185d22
1 changed files with 1 additions and 0 deletions

View File

@ -332,3 +332,4 @@ CELERYBEAT_SCHEDULER = 'django_celery_beat.schedulers.DatabaseScheduler' # Back
# 接口权限
INTERFACE_PERMISSION = locals().get("INTERFACE_PERMISSION", False)
DJANGO_CELERY_BEAT_TZ_AWARE = False
CELERY_TIMEZONE = 'Asia/Shanghai' # celery 时区问题