Metadata-Version: 2.1
Name: django-notification-sender
Version: 0.0.4
Summary: Pluggable app to centralize notification configuration.
Home-page: https://github.com/surface-security/django-notification-sender
Author: PPB - InfoSec Engineering
Author-email: surface@paddypowerbetfair.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.9
Classifier: Environment :: Web Environment
Classifier: Topic :: Software Development
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: slack
License-File: LICENSE

## 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/`


