Skip to main content

Pluggable app to centralize notification configuration.

Project description

Notifications

Pluggable app to centralize notification configuration.

Available settings:

  • NOTIFICATIONS_MAIL_FROM - sender for mail notifications (falls back to settings.DEFAULT_FROM_EMAIL)
  • NOTIFICATIONS_SLACK_APP_TOKEN - Slack app token to be used to post the notifications using API, not incoming webhook (no default, set it or slack won't work!)

To use external notifications make sure to update your project urls.py to add a valid path for notifications

urlpatterns = [
    ...
    path(
        'api/notifications/', include(('notifications.urls', 'notifications'), namespace='notifications')
    ),
    ...
]

This would allow external notifications to be POSTed to api/notifications/notify/

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-notification-sender-0.0.6.tar.gz (15.4 kB view hashes)

Uploaded Source

Built Distribution

django_notification_sender-0.0.6-py3-none-any.whl (20.8 kB view hashes)

Uploaded Python 3

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