Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Overholt how to send the flask-security emails via Celery? #33

Open
dukedougal opened this issue Aug 4, 2014 · 4 comments
Open

Overholt how to send the flask-security emails via Celery? #33

dukedougal opened this issue Aug 4, 2014 · 4 comments

Comments

@dukedougal
Copy link

In overholt I am trying to send the flask-security emails via Celery. I am following the instructions you have provided here:

pallets-eco/flask-security-3.0#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

@mattupstate
Copy link
Owner

why not core.py ?

@mcs07
Copy link

mcs07 commented Jan 19, 2015

I'm having trouble with this also. It seems that wherever I put it, I get circular import problems.

@rlam3
Copy link

rlam3 commented Nov 29, 2015

+1 @mcs07 were you able to get around this problem?

@derek-miller
Copy link

Did anyone find an elegant solution for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants