overholt
overholt copied to clipboard
Overholt how to send the flask-security emails via Celery?
In overholt I am trying to send the flask-security emails via Celery. I am following the instructions you have provided here:
https://github.com/mattupstate/flask-security/issues/194
I cannot find anywhere in Overholt to put the following code:
@security.send_mail_task def delay_flask_security_mail(msg): send_flask_mail.delay(msg)
Where should it live?
thanks
why not core.py
?
I'm having trouble with this also. It seems that wherever I put it, I get circular import problems.
+1 @mcs07 were you able to get around this problem?
Did anyone find an elegant solution for this?