remove i18n

This commit is contained in:
virusdefender
2017-04-19 02:03:48 +08:00
parent 8128e076f2
commit ef9cdd9f75
9 changed files with 80 additions and 83 deletions

View File

@@ -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)