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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for django-messaging-subscription-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0dfe95ec85c2347250c1f90469eea1b37e0824bb7731a175f5c4d1ec5df3475a
MD5 d949823383f7157611492ead801d0a41
BLAKE2b-256 17b30129f6590f6d2f6dd0f6780a6286d89d66bad02e7bce784b48124083c5b7

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_messaging_subscription-0.3.1-py2-none-any.whl
Algorithm Hash digest
SHA256 e7c22fd1cdb526cc3cdfa91dcb753f1a115269a5f5b92d0d69c0fd0b41f7f903
MD5 c7b00a8e96a4ec60ed315155cae48e1c
BLAKE2b-256 75620a1b5ae7611b4bffc10ee09eb16170f770de47d4f93c3591b5f41dc03b2f

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