Skip to main content

A app package for simple notifications for django

Project description

https://travis-ci.org/leonardoo/django-simple-notifications.svg?branch=master https://codecov.io/gh/leonardoo/django-simple-notifications/branch/master/graph/badge.svg

A app package for simple notifications for django

Quickstart

Install django-notifications:

pip install django-simple-notifications

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'simple_notifications.apps.DjNotificationsConfig',
    ...
)

Add django-simple-notifications’s URL patterns:

from simple_notifications import urls as simple_notifications_urls


urlpatterns = [
    ...
    url(r'^', include(simple_notifications_urls)),
    ...
]

Add django-simple-notifications’s to the contexts processors:

TEMPLATES = [
    {
        ...
        'OPTIONS': {
            'context_processors': [
                ...
                "simple_notifications.context_processors.check_user_show_notification"
            ],
        },
    },
]

Add to the templates or base html:

{% include "simple_notifications/alert.html" %}

Features

  • TODO

Running Tests

  • TODO

Credits

Tools used in rendering this package:

History

0.1.1 (2018-06-19)

  • Bug fix

0.1.0 (2018-06-05)

  • First release on PyPI.

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-simple-notifications-0.1.1.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

django_simple_notifications-0.1.1-py2.py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 2 Python 3

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