General purpose notification library for Django
Project description
Django PyNotify
General purpose notification library for Django.
Free software: MIT license
Documentation: https://django-pynotify.readthedocs.io.
Supported Python versions: 3.7, 3.8, 3.9, 3.10, 3.11
Supported Django versions: 3.1, 3.2
Features
Easy integration into project
Notification templating and translation
Asynchronous operation
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.5.5 (2023-01-03)
Add support for Python 3.10 and 3.11
0.5.4 (2022-03-10)
Migrate CI from Travis to Github Actions
Fix lint errors
0.5.3 (2022-03-01)
Prevent duplicates of NotificationTemplate objects
0.5.2 (2022-02-21)
Allow handlers that are not paired with any signal
Return notifications created with notify helper function
0.5.1 (2022-01-20)
Use JSONField instead of TextField for JSON based fields
Add extra_fields to BaseTemplate
Drop Django 2.x support
0.4.6 (2021-08-31)
Add is_locked field to AdminNotificationTemplate
0.4.5 (2021-01-21)
Update dependencies
0.4.4 (2021-01-15)
Add support for Python 3.9
Add support for Django 3
Fix BS4 warning
0.4.3 (2020-12-16)
Fix translation file
0.4.2 (2020-12-11)
Add send_push flag to AdminNotificationTemplate model
Ignore duplicit dispatcher classes in BaseHandler
0.4.1 (2020-10-12)
Add PYNOTIFY_STRIP_HTML config option
0.4.0 (2020-08-12)
Removed support of Django 1.11, 2.0 and 2.1
Fixed library requirements
0.3.2 (2020-07-27)
Add is_active flag to AdminNotificationTemplate model
0.3.1 (2020-06-12)
Improve template variable checking
Add new filter filter_with_related_object
0.3.0 (2020-04-19)
Fix documentation
Change PYNOTIFY_AUTOLOAD_APPS to PYNOTIFY_AUTOLOAD_MODULES, i.e. allow notification handlers to reside in arbitrary module
0.2.2 (2020-02-11)
Use Django JSON encoder for encoding extra data
0.2.1 (2020-02-11)
Fix failed PyPi upload
0.2.0 (2020-02-11)
Add admin templates
Limit usage of related objects in templates and add PYNOTIFY_RELATED_OBJECTS_ALLOWED_ATTRIBUTES setting
Show placeholder text for deleted related objects
0.1.7 (2020-01-20)
Add support for Python 3.8 and Django 2.2
Fix generating of translations
Allow unnamed related objects to be passed in a list
0.1.6 (2019-04-16)
Add PYNOTIFY_TEMPLATE_PREFIX config option
Add methods get_template_slug() and get_dispatcher_classes() to BaseHandler
Add coveralls.io integration
0.1.5 (2019-04-12)
Add extra data to Notification model
0.1.4 (2019-04-08)
Add _can_handle() method to BaseHandler
Add PYNOTIFY_ENABLED setting
0.1.3 (2019-04-01)
Add kwargs to Notification manager’s create() method
Add realted_objects_dict property to Notification model
0.1.2 (2019-03-20)
Remove automatic deploy to PyPi from Travis
0.1.1 (2019-03-20)
First release of the library