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.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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django simple notifications-0.1.0.tar.gz.
File metadata
- Download URL: django simple notifications-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0694809ee301f1ee9869792df11ffb02acba59fcf530eb3ba54dc55202b64d4
|
|
| MD5 |
d18adcf9fb1ac9d60f94a79c1c372eb1
|
|
| BLAKE2b-256 |
5975dda098e102b3661bbf886a8ffd4853b84419e5809339a952e8800e1e4173
|
File details
Details for the file django_simple_notifications-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: django_simple_notifications-0.1.0-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 |
65e409a297e976ff7939d69076c60a0107e78d283cfc83bd2b0096acbc4f698f
|
|
| MD5 |
7dad8e3501eda3ff889b2fefbda6f761
|
|
| BLAKE2b-256 |
6b9e777c68bd23ef9dbc650c4d58d6914bbaf4c1c15e437869df77a94d4d959b
|