Skip to main content

User and Group Notifications for Django

Project description

Send notifications (Email, SMS etc) and manage preferences and permissions per user and group.

See full documentation at http://django-notifier.rtfd.org/

To register a notification:

create_notification('test-notification')

To send notifications:

send_notification('test-notification', [user1, user2, ..])

Installation

Install via pip:

$ pip install django-notifier

Setup

  1. Add notifier to INSTALLED_APPS in your django settings file.

    INSTALLED_APPS = (
        ...
        'notifier',
        ...
    )
  2. Settings

    If you are going to use any custom backends to send notifications, add the setting NOTIFIER_BACKENDS to your settings file. If this setting is not defined, only the EmailBackend is used by default.

    NOTIFIER_BACKENDS = (
        'notifier.backends.EmailBackend',
        'path.to.custom.backend.CustomBackend',
    )
  3. Run syncdb or migrate (if using South) to create the necessary tables in the database.

    $ python manage.py syndb

    If using South:

    $ python manage.py migrate

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-notifier-0.7.tar.gz (11.7 kB view details)

Uploaded Source

File details

Details for the file django-notifier-0.7.tar.gz.

File metadata

File hashes

Hashes for django-notifier-0.7.tar.gz
Algorithm Hash digest
SHA256 42c787e5ab7d3698420254117c47aaa29d35e331f79c8aca9b5c69e905162e85
MD5 b9b64b930ded6b795d4f33fad5014aa1
BLAKE2b-256 911166aa452258103081527bae4018f092f580dc023c3dbdb9a22af9d26caa27

See more details on using hashes here.

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