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

Not released yet

  • Add support for custom Notification model specification.

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

skip_django_pynotify-0.7.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skip_django_pynotify-0.7.0-py2.py3-none-any.whl (25.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file skip_django_pynotify-0.7.0.tar.gz.

File metadata

  • Download URL: skip_django_pynotify-0.7.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for skip_django_pynotify-0.7.0.tar.gz
Algorithm Hash digest
SHA256 41788cafb3e8b039dcf522ce9df7181e975f70feced757a7ca80ee19e3ee08e5
MD5 c5bffd2b0124526df4649b663f4653ee
BLAKE2b-256 778c9c3cd3c4c63810a5e420a6b98831ab546f206f8cdb97eb569ac8e9745acf

See more details on using hashes here.

File details

Details for the file skip_django_pynotify-0.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for skip_django_pynotify-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 811f30c0ba13ac64c772e20c25b04ec77177b6f8fb78fd40daf2154958b2a340
MD5 3cc9cef372d9b81b2e0af058b694666b
BLAKE2b-256 86d8de9819b25d70fc84e1ee4bb184c1511b24e87ac721c7d315978c71ea0387

See more details on using hashes here.

Supported by

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