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
File details
Details for the file django_notification_sender-0.1.0.tar.gz
.
File metadata
- Download URL: django_notification_sender-0.1.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e452935e9603702c9b579afa52f10c08af42b37dbddd4e2305fbc380ab80f98c |
|
MD5 | 9ef79c7d2799b5534b051714be66d88d |
|
BLAKE2b-256 | 80b9949385f093b835149cb0e8ae934659025b3d332c0ab3cd9a717a9b01721d |
File details
Details for the file django_notification_sender-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_notification_sender-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486fd56ac3339c6e3b30e49dff246491c9db33cc16b175cbb77a7f7bb8b78b8c |
|
MD5 | 749a898c0b8757c68ba3e9589c0de881 |
|
BLAKE2b-256 | 3cb24cc08ca14750d891216d7079d96f09778ac9c29681624afa30e6c5436356 |