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.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.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for django simple notifications-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a0694809ee301f1ee9869792df11ffb02acba59fcf530eb3ba54dc55202b64d4
MD5 d18adcf9fb1ac9d60f94a79c1c372eb1
BLAKE2b-256 5975dda098e102b3661bbf886a8ffd4853b84419e5809339a952e8800e1e4173

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_simple_notifications-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 65e409a297e976ff7939d69076c60a0107e78d283cfc83bd2b0096acbc4f698f
MD5 7dad8e3501eda3ff889b2fefbda6f761
BLAKE2b-256 6b9e777c68bd23ef9dbc650c4d58d6914bbaf4c1c15e437869df77a94d4d959b

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