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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for django-messaging-subscription-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5cc9106c0f8a2340c07cdfaa2e6d203ed564abb25b3059df25da978135bb0f96
MD5 262f150587e07e042f646e7b770c4067
BLAKE2b-256 3f628a56cec086e91dd56d5111f609e974cc7961ab74e3e9e7832c724994f342

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_messaging_subscription-0.2.1-py2-none-any.whl
Algorithm Hash digest
SHA256 065fd8eb7d5daf08d65b28bdc5ecddcaf0d9eacc543dbb76a1f89240ba53ad05
MD5 9ddf2a7b89c01b68dd3e3c8799723117
BLAKE2b-256 240ca8250e0d518ddea9553706bd6b971c9a2ba7647af7704aadc44fffada637

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