Metadata-Version: 2.1
Name: django-pynotify
Version: 0.2.1
Summary: General purpose notification library for Django
Home-page: https://github.com/druids/django-pynotify
Author: Ondřej Kulatý
Author-email: kulaty.o@gmail.com
License: MIT license
Keywords: django-pynotify
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: django (>=1.11)
Requires-Dist: django-chamber (~=0.5.0)
Requires-Dist: celery (~=4.2.0)

===============
Django PyNotify
===============


.. image:: https://img.shields.io/pypi/v/django-pynotify.svg
        :target: https://pypi.python.org/pypi/django-pynotify

.. image:: https://img.shields.io/travis/druids/django-pynotify.svg
        :target: https://travis-ci.org/druids/django-pynotify

.. image:: https://readthedocs.org/projects/django-pynotify/badge/?version=latest
        :target: https://django-pynotify.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://coveralls.io/repos/github/druids/django-pynotify/badge.svg?branch=master
        :target: https://coveralls.io/github/druids/django-pynotify?branch=master
        :alt: Code coverage

General purpose notification library for Django.


* Free software: MIT license
* Documentation: https://django-pynotify.readthedocs.io.
* Supported Python versions: 3.6, 3.7, 3.8
* Supported Django versions: 1.11, 2.0, 2.1, 2.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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

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


