Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Generic models for implement message based features

License

Notifications You must be signed in to change notification settings

Feverup/django-fever-notifications

Repository files navigation

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:

About

Generic models for implement message based features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published