https://github.com/surface-security/django-notification-sender
Django App to let users configure a notification system in Django. Supports Email and Slack.
https://github.com/surface-security/django-notification-sender
Last synced: 4 months ago
JSON representation
Django App to let users configure a notification system in Django. Supports Email and Slack.
- Host: GitHub
- URL: https://github.com/surface-security/django-notification-sender
- Owner: surface-security
- License: mit
- Created: 2022-01-17T15:54:04.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-11-11T12:11:43.000Z (8 months ago)
- Last Synced: 2025-11-11T13:21:58.043Z (8 months ago)
- Language: Python
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
## 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/`