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.1.0.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

django_notification_sender-0.1.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file django_notification_sender-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django_notification_sender-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e452935e9603702c9b579afa52f10c08af42b37dbddd4e2305fbc380ab80f98c
MD5 9ef79c7d2799b5534b051714be66d88d
BLAKE2b-256 80b9949385f093b835149cb0e8ae934659025b3d332c0ab3cd9a717a9b01721d

See more details on using hashes here.

File details

Details for the file django_notification_sender-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_notification_sender-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 486fd56ac3339c6e3b30e49dff246491c9db33cc16b175cbb77a7f7bb8b78b8c
MD5 749a898c0b8757c68ba3e9589c0de881
BLAKE2b-256 3cb24cc08ca14750d891216d7079d96f09778ac9c29681624afa30e6c5436356

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