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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_simple_notifications-0.1.1-py2.py3-none-any.whl (8.9 kB) Copy SHA256 hash SHA256 Wheel 3.6
django-simple-notifications-0.1.1.tar.gz (7.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page