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

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.3.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for django-messaging-subscription-0.3.0.tar.gz
Algorithm Hash digest
SHA256 96d2bc51c02d95d3a2eeebfea6e594b4d9613a706c380fb7bc0403d0d7ee2954
MD5 1c143e10fb893699ec16a3cc513a684e
BLAKE2b-256 b8c5e7c8cab9473cb157086489c0498eda7361bc11ef3ff05a26de7f2e66e386

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_messaging_subscription-0.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 84106eaf831d099d78ed2ac52f1c9511ab1f1e2cbe5eeec70fdb7c508338aea3
MD5 c5253dd7bda29e1b1927a5341b2d4b9f
BLAKE2b-256 dd793391e576b354ed0fc6ff641cb83bacb692eee63a72ade892ab93f415b898

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