Skip to content

aaronc-bixly/notifications

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notifications

Build Status Code Climate

This django application allows for notification types to be created and then sent in one command.

This includes:

  • Submission of notification messages by other apps
  • Notification messages on signing in
  • Notification messages via email (configurable by user)
  • Ability to supply your own backends notification channels

Quickstart

Add notifications to your INSTALLED_APPS setting:

INSTALLED_APPS = (
    # ...
    "notifications",
    # ...
)

Create one or more notice types:

from notifications.models import NoticeType
NoticeType.create(label, display, description)

In your code, send events;

from notifications.models import send_now
send_now([users], "label", {"extra": context})

About

user notification management for the Django web framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.2%
  • HTML 1.8%