Skip to main content

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 RQ. 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 heavily influenced by:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_rq_email_backend-1.0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

django_rq_email_backend-1.0.1-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page