Provides Django email integration for RQ (Redis Queue)
Project description
Requirements
Installation
Install django-rq-email-backend:
pip install django-rq-email-backend
Add django_rq to INSTALLED_APPS in settings.py:
INSTALLED_APPS = (
# other apps
'django_rq_email_backend',
)
You must then set django_rq_email_backend as your EMAIL_BACKEND:
EMAIL_BACKEND = 'django_rq_email_backend.backends.RQEmailBackend'
By default django-rq-email-backend will use Django’s builtin SMTP email backend for the actual sending of the mail. If you’d like to use another backend, you may set it in RQ_EMAIL_BACKEND just like you would normally have set EMAIL_BACKEND before you were using Celery. In fact, the normal installation procedure will most likely be to get your email working using only Django, then change EMAIL_BACKEND to RQ_EMAIL_BACKEND, and then add the new EMAIL_BACKEND setting from above.
Inspiration
django-rq-email-backend was heavilty influenced by:
Changelog
0.1.3
Fixed exception handler to bubble up error if send_email fails.
0.1.2
Fixed broken installation.
0.1.1
Renamed project to avoid potential confusion with django-rq-mail.
0.1.0
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-rq-email-backend-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b48416fc031817e1acca615f87d58c9b08ce445f294641edb4d430a9409eadb |
|
MD5 | ff17ddd8066bf3f96e9f394b76b5f235 |
|
BLAKE2b-256 | 17f40829f8906f3920d28cd7033d9d88e312a09c046fa6f8ef885bbd7240e349 |
Hashes for django_rq_email_backend-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a5407dc05e1f73dc553a91fc3b79d8bdf5093a02de65668ccc5021fe55898d5 |
|
MD5 | 540d7b476da47285ad9b37ceae15fb4d |
|
BLAKE2b-256 | 94c03729cc582467e0966745efc2a65497d319b350479718ffefd915acb5f72a |