django-fever-notifications

Generic models for implement message based features


Keywords
django-fever-notifications
License
BSD-3-Clause
Install
pip install django-fever-notifications==0.1.3

Documentation

django-fever-notifications

https://badge.fury.io/py/django-fever-notifications.png https://travis-ci.org/Feverup/django-fever-notifications.png?branch=master

Generic models for implement message based features

Documentation

The full documentation is at https://django-fever-notifications.readthedocs.org.

Quickstart

Install django-fever-notifications:

pip install django-fever-notifications

Then use it in a project:

from fevernotifications.models import Notification
from fevernotifications.shortcuts import create_notification

# Create a notification
create_notification(user, title="Hello", message="Hello world!")

# Query all notifications per user
Notification.objects.by_target(user)

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ python runtests.py

Credits

Tools used in rendering this package: