Generic notification system for Django, with multiple input types and output backends
Project description
A Django app that can handle multiple ways of showing different notification types. It’s all based on multiple input types and output backends.
Notifications
A notification could be anything:
you have received a private message on a forum
there is a new comment on your blog
someone liked your profile or article
a new post was created in a thread you follow
someone answered your poll
you have a new friend request or follower
As far as this project is concerned, a notification is nothing more but an (optional) subject, text body, and a list of receivers.
Backends
There are multiple output backends. Some possible examples are:
email
sms message
iPhone push notification
notification center
At this moment only two email backends are provided.
Notification types
A notification type is the glue between a message (input) and one or more possible backends (output). For example, you might want to send all account related messages to email only, but notifications about new private messages could go to email, iPhone push messages, Django’s own messages app, you name it.
Each notification type can specify its allowed backend(s), and each user can specify his preferred output backend(s). Each notification will then figure out what backend to use based on this information.
Settings
Some backends will need extra information from the user, for example a phone number or email address.
Users can also select which notification types they’re interested in, and what possible backends they would like to receive the message on.
Queue
Most notification backends can’t process in real time, instead adding them to a queue. At this moment, this is based on a simple database model and a manage.py script which can be used from your cron.
In the future celery tasks should be added too.
Installation
See INSTALL.rst
Usage
See USAGE.rst for examples
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
File details
Details for the file django-generic-notifications-0.2.2.tar.gz
.
File metadata
- Download URL: django-generic-notifications-0.2.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78170173a4db2bba90405d4ecdaad8d60c4ecfdbec3f38466b9008f477494bd2 |
|
MD5 | e0d125ffa45c1a5a4138634a0482f9cd |
|
BLAKE2b-256 | e69762c70b8226b189a3629e0102a817feb464f1bb5ffb087bbaa41407421fb5 |