remove i18n
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from celery import shared_task
|
||||
|
||||
from utils.mail import send_email
|
||||
from utils.shortcuts import send_email
|
||||
|
||||
|
||||
@shared_task
|
||||
def _send_email(from_name, to_email, to_name, subject, content):
|
||||
def send_email_async(from_name, to_email, to_name, subject, content):
|
||||
send_email(from_name, to_email, to_name, subject, content)
|
||||
|
||||
Reference in New Issue
Block a user