Skip to main content

A RESTful API for managing messaging content, subscriptions and sending via Vumi-go

Project description

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:

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 = "-------"

Release Notes

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-messaging-subscription-0.7.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file django-messaging-subscription-0.7.0.tar.gz.

File metadata

File hashes

Hashes for django-messaging-subscription-0.7.0.tar.gz
Algorithm Hash digest
SHA256 072070bf4529bd44a1377c57030fabcbece4945ce92b2ffca30e028c01f1bfd1
MD5 86b5439f09e5a49110619288cc834b88
BLAKE2b-256 9b152237fa05d293a92da9889136c47d99d9eefb13bcce877b84a7bc7b2a9a8a

See more details on using hashes here.

Provenance

File details

Details for the file django_messaging_subscription-0.7.0-py2-none-any.whl.

File metadata

File hashes

Hashes for django_messaging_subscription-0.7.0-py2-none-any.whl
Algorithm Hash digest
SHA256 1247ff98b41a9277f263d05a24a99b5c4462ccedff75fb13823c1dff5a391b27
MD5 8c55d71a73fd775baa1acad39c5a4e51
BLAKE2b-256 acfe34bc48b52ff45702c6f3ce1c15117b4bf170e27279de40744578ee45934c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page