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_BOT_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-1.0.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_notification_sender-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ecd8220889849ea22d960b21832d67cab2d176a1160730a7265435f9e3de27bb
MD5 8a48daf990c6225d02317f6721224f5a
BLAKE2b-256 16c6e895dade5a8ccf3cece2a4849ad16e8c56a0a6271eb951d2fd548e9433dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_notification_sender-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 948b87e53d18d1ad2f38de9fbe5618e983b7db9af5ed2600884150c29c9c3984
MD5 fa800b7f8369de5d0200c3f98584e769
BLAKE2b-256 38ff8edeacb204daa4d5ecd8bffc5fe3ba1f9a7c26a70f2e6d9693fcb5de04b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page