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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file django-simple-notifications-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-simple-notifications-0.1.1.tar.gz
Algorithm Hash digest
SHA256 347ebc34eb87f8aa8716372400d68ecfbbf240d112d6d7c043014825014c42a3
MD5 894a4bcdbe2103e256b765a33eb3da27
BLAKE2b-256 ca45b253095808f0c6ae511c72b6287119cf250afdf7ceec46eeb7ada1554134

See more details on using hashes here.

Provenance

File details

Details for the file django_simple_notifications-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_simple_notifications-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 080dda77f13146538ec966b396ea4e53d393cad599992f6b89ad999ac4bda8d0
MD5 7499d676fcc5ad606ac5b4f4aa3cb52d
BLAKE2b-256 ea18ce31b191b6c2196e688065c4ab2575c83fd9c34d7610acdc3dd983d95a5e

See more details on using hashes here.

Provenance

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