possibility to use celery for asynchronous email
This commit is contained in:
parent
078c0eae8c
commit
4fe47008cb
8 changed files with 63 additions and 3 deletions
8
issue/tasks.py
Normal file
8
issue/tasks.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
from django.core.mail import send_mass_mail as django_send_mass_mail
|
||||
|
||||
from celery import shared_task
|
||||
|
||||
|
||||
@shared_task
|
||||
def send_mass_mail(datatuple):
|
||||
django_send_mass_mail(datatuple)
|
Loading…
Add table
Add a link
Reference in a new issue