Klaus-Uwe Mitterer
d549897186
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
5 lines
No EOL
126 B
Python
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) |