Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Allows you to set up notification emails for your users, sent out either immediately or in regular batches

Project description

Using django-digested you can set up notification emails for your users, sent out either immediately or in regular batches (“digests”).

Installation:

pip install django-digested

Usage:

INSTALLED_APPS += [‘digested’] manage.py migrate digested

Now subclass digested.digest_managers.BaseDigestManager and override these methods:

get_items(self) get_subscribers_for_item(self, item) get_updates_for_digest(self, item, preference) send_one_instant_update(self, subscriber, update) send_one_digest_update(self, subscriber, preference, updates)

Call send_instant_update to send out instant updates, and send_digest_updates at appropriate regular intervals.

Supported by

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