Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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.

Project details


Release history Release notifications

This version
History Node

0.1.2

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-digested-0.1.2.tar.gz (10.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page