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 tosettings.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
Built Distribution
Close
Hashes for django-notification-sender-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94afd77b1775c3b1063be498ef7b8c37c1b35783e161c199bcf05e3862ce2486 |
|
MD5 | 8a43e3c402ed754e2504f0e041e01046 |
|
BLAKE2b-256 | 687772e0595e0cd820c7919857af121ce9f14247da4bf2dfeec08baf8f5982a1 |
Close
Hashes for django_notification_sender-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d987f0804935864818db22c400b48fdda67aebc0a8c21ec8a17ed3171efb7fca |
|
MD5 | eb7d2d53f1d668bcb7c9819559f4bc5c |
|
BLAKE2b-256 | 1535c98a5d5b61db9548e8d4c6b5f20b81abda9b80b5a27326dcf7d8a4b16db8 |