Open kelseyq opened 8 years ago
Might be good to start with the Django cookicutter's suggestion for AnyMail since it avoids lock in for a single mail provider.
I think that might be a different issue--this one refers to running the code that generates reports & sends emails asynchronously, so the webapp can respond while that's happening.
Let me see if I've got the use case:
These calls: https://github.com/SexualHealthInnovations/callisto-core/blob/master/callisto/delivery/views.py#L47 https://github.com/SexualHealthInnovations/callisto-core/blob/master/callisto/delivery/views.py#L64 https://github.com/SexualHealthInnovations/callisto-core/blob/master/callisto/delivery/views.py#L123 potentially take a long time and could be handled in a coroutine/Celery/Twisted/other form of asynchronous process, allowing the site to return a response to the user while that's happening. Error handling would need to be considered. This is an idea for a future improvement and not a high-priority issue.
@willingc any ideas on tagging issues to indicate priority or scope?
@kelseyq Perhaps create milestones for next release, release + 1, wish list. Or labels with one color to signify priority [pri: critical], [pri: next release], [pri: wishlist]. Overall, keep it simple ;-)
Oh and you already are doing a great job tagging issues. 🎉
Looks like there are a lot of options for doing this in Python