格式化

This commit is contained in:
caoqianming 2022-12-24 14:04:10 +08:00
parent 477bde5af8
commit 0fdfac0ae2
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ from django.conf import settings
# 实例化myLogger # 实例化myLogger
myLogger = logging.getLogger('log') myLogger = logging.getLogger('log')
@shared_task @shared_task
def send_mail_task(**args): def send_mail_task(**args):
from django.core.mail import send_mail from django.core.mail import send_mail