django-messaging-subscription-0.8.0
توضیحات
A RESTful API for managing messaging content, subscriptions and sending via Vumi-go
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | django-messaging-subscription-0.8.0 |
| نام | django-messaging-subscription |
| نسخه کتابخانه | 0.8.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Western Cape Labs |
| ایمیل نویسنده | devops@westerncapelabs.com |
| آدرس صفحه اصلی | https://github.com/westerncapelabs/django-messaging-subscription |
| آدرس اینترنتی | https://pypi.org/project/django-messaging-subscription/ |
| مجوز | BSD |
django-messaging-subscription
================================
A RESTful API for managing messaging content, subscriptions and sending
via Vumi-go
::
$ virtualenv ve
$ source ve/bin/activate
(ve)$ pip install -r requirements.txt
(ve)$ pip install -r requirements-dev.txt
(ve)$ py.test --ds=testsettings subscription/tests.py --cov=subscription
Configuration
-------------------------------
The following configuration (with dummy values replaced by real ones) needs to
be added to ``settings.py`` to configure this app:
.. code-block:: python
INSTALLED_APPS = [
# Usual Django stuff plus
# Third-party apps
'south',
'tastypie',
'djcelery',
# Us
'subscription'
]
VUMI_GO_ACCOUNT_KEY = "replaceme"
VUMI_GO_CONVERSATION_KEY = "replaceme"
VUMI_GO_ACCOUNT_TOKEN = "replaceme"
CELERY_ACCEPT_CONTENT = ['pickle']
CELERY_TASK_SERIALIZER = 'pickle'
CELERY_RESULT_SERIALIZER = 'pickle'
CELERY_ALWAYS_EAGER = DEBUG
SUBSCRIPTION_SEND_INITIAL_DELAYED = 1800 # optional delay in seconds
SUBSCRIPTION_MULTIPART_BOUNDARY = "-------"
SUBSCRIPTION_NOOP_KEYWORD = "SKIPSEND"
Release Notes
------------------------------
0.8.0 - 2016-06-22 - Add support for not sending on certain days
0.7.1 - 2016-05-20 - Pin and bump of dependency versions
0.7.0 - 2015-05-06 - Added support for firing metrics on completion of sets
0.6.0 - 2015-01-13 - Added support for default schedules on message sets for auto
transition
نحوه نصب
نصب پکیج whl django-messaging-subscription-0.8.0:
pip install django-messaging-subscription-0.8.0.whl
نصب پکیج tar.gz django-messaging-subscription-0.8.0:
pip install django-messaging-subscription-0.8.0.tar.gz