A app package for simple notifications for django
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-simple-notifications-0.1.1.tar.gz
.
File metadata
- Download URL: django-simple-notifications-0.1.1.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 347ebc34eb87f8aa8716372400d68ecfbbf240d112d6d7c043014825014c42a3 |
|
MD5 | 894a4bcdbe2103e256b765a33eb3da27 |
|
BLAKE2b-256 | ca45b253095808f0c6ae511c72b6287119cf250afdf7ceec46eeb7ada1554134 |
Provenance
File details
Details for the file django_simple_notifications-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_simple_notifications-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 080dda77f13146538ec966b396ea4e53d393cad599992f6b89ad999ac4bda8d0 |
|
MD5 | 7499d676fcc5ad606ac5b4f4aa3cb52d |
|
BLAKE2b-256 | ea18ce31b191b6c2196e688065c4ab2575c83fd9c34d7610acdc3dd983d95a5e |