Skip to main content

General purpose notification library for Django

Project description

Django PyNotify

https://img.shields.io/pypi/v/django-pynotify.svg https://img.shields.io/travis/druids/django-pynotify.svg Documentation Status Code coverage

General purpose notification library for Django.

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

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

django-pynotify-0.5.5.tar.gz (169.8 kB view details)

Uploaded Source

Built Distribution

django_pynotify-0.5.5-py2.py3-none-any.whl (24.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-pynotify-0.5.5.tar.gz.

File metadata

  • Download URL: django-pynotify-0.5.5.tar.gz
  • Upload date:
  • Size: 169.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.9.3 requests/2.28.1 setuptools/45.2.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.15

File hashes

Hashes for django-pynotify-0.5.5.tar.gz
Algorithm Hash digest
SHA256 9fda287a59995030d843d781d0bd31f259134ddebe7a3d1a5139e4a36a1de0bb
MD5 05f495f42966e5e30e1acc8e58ea8622
BLAKE2b-256 d5bd8d21b69c12f29b165533175bb5770c15a2b20f965bb6dd9253ef5317f82b

See more details on using hashes here.

File details

Details for the file django_pynotify-0.5.5-py2.py3-none-any.whl.

File metadata

  • Download URL: django_pynotify-0.5.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.9.3 requests/2.28.1 setuptools/45.2.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.15

File hashes

Hashes for django_pynotify-0.5.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c269a6ed541174a7df18df6780a23632aff3267c295a93843fb9797334bd440f
MD5 951cce25a06478c7adf1f4bd8dce871b
BLAKE2b-256 772fdfb69947c861cd1e718e594d7b41884dd52b4683ad493969676f3debeaa5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page