The django package for sloop implementation
Python HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
docs/img
sloop
.gitignore
LICENSE
MANIFEST
MANIFEST.in
README.md
__init__.py
requirements.txt
setup.cfg
setup.py

README.md

Sloop

Sloop is the fastest & most reliable RESTful push notification service so far. This package contains some tools that will ease the implementation of sloop into django projects.

Django-Sloop

Installation

1 - Install the package via Github or PIP

2 - Add sloop to the INSTALLED_APPS list in the settings file.

3 - Extend the sloop.models.DeviceBaseClass class and create your own pushtoken device model.

4 - Make sure that you fill necessary information at the settings file:

# Push Notification Settings
SLOOP_APP_KEY = ''
SLOOP_APP_TOKEN = ''
SLOOP_DEVICE_TOKEN_MODEL = 'profiles.DevicePushToken'

5 - Add sloop.models.PushNotificationMixin to your UserProfile model.

Done!