expephalon/core/tasks/mail.py
Klaus-Uwe Mitterer d549897186 Too many things to remember all of them
Finally got the mail queue working
Oh yeah, queueing
Added a TOTP provider which doesn't do anything much yet
Probably a hell of a lot of other things that I just can't remember
2020-05-13 12:38:37 +02:00

5 lines
No EOL
126 B
Python

from celery import shared_task
@shared_task
def send_mail(provider=None, **kwargs):
return provider().send_mail(**kwargs)