This commit is contained in:
parent
fd4590f611
commit
64644a5a67
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class Email(BaseModel):
|
||||||
|
|
||||||
def send(self):
|
def send(self):
|
||||||
from apps.emails.tasks import send_email
|
from apps.emails.tasks import send_email
|
||||||
send_email(self.uuid)
|
send_email.delay(self.uuid)
|
||||||
|
|
||||||
def _send_email(self):
|
def _send_email(self):
|
||||||
from django.core.mail import send_mail
|
from django.core.mail import send_mail
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue