Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send emails in background #95

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Send emails in background #95

wants to merge 3 commits into from

Conversation

cc-a
Copy link
Collaborator

@cc-a cc-a commented Jan 14, 2025

Description

Implements a wrapper function to make it simple to send emails as a background task and refactors the one view that sends emails already.

I've added a configuration for Django Q to the development environment so make sure you've got the latest main if you want to run it locally.

Fixes #89

Type of change

  • Documentation (non-breaking change that adds or improves the documentation)
  • New feature (non-breaking change which adds functionality)
  • Optimization (non-breaking, back-end change that speeds up the code)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (whatever its nature)

Key checklist

  • All tests pass (eg. python -m pytest)
  • The documentation builds and looks OK (eg. python -m sphinx -b html docs docs/build)
  • Pre-commit hooks run successfully (eg. pre-commit run --all-files)

Further checks

  • Code is commented, particularly in hard-to-understand areas
  • Tests added or an issue has been opened to tackle that in the future. (Indicate issue here: # (issue))

@cc-a cc-a force-pushed the background-emails branch from 42f194c to 4b190e8 Compare January 14, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Email sending infrastructure
1 participant