From a85e185d22118e186510a71bae665f5e88e64f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Fri, 11 Jun 2021 00:32:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG(=E4=BF=AE=E5=A4=8Dcelery?= =?UTF-8?q?=E6=97=B6=E5=8C=BA=E9=97=AE=E9=A2=98):=20=E4=BF=AE=E5=A4=8Dcele?= =?UTF-8?q?ry=E6=97=B6=E5=8C=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dvadmin-backend/application/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dvadmin-backend/application/settings.py b/dvadmin-backend/application/settings.py index bbdfcfd..46b6586 100644 --- a/dvadmin-backend/application/settings.py +++ b/dvadmin-backend/application/settings.py @@ -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 时区问题