mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 00:13:18 +00:00
9 lines
219 B
Python
9 lines
219 B
Python
from celery import shared_task
|
|
|
|
from utils.shortcuts import send_email
|
|
|
|
|
|
@shared_task
|
|
def send_email_async(from_name, to_email, to_name, subject, content):
|
|
send_email(from_name, to_email, to_name, subject, content)
|