用于管理消息内容、订阅和通过vumi go发送的restful api
django-messaging-subscription的Python项目详细描述
用于管理消息内容、订阅和发送的restful api 通过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
配置
以下配置(虚拟值替换为实际值)需要 添加到settings.py以配置此应用:
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=DEBUGSUBSCRIPTION_SEND_INITIAL_DELAYED=1800# optional delay in secondsSUBSCRIPTION_MULTIPART_BOUNDARY="-------"SUBSCRIPTION_NOOP_KEYWORD="SKIPSEND"
发行说明
0.8.0-2016-06-22-添加对某些日期不发送的支持 0.7.1-2016-05-20-依赖版本的管脚和凸起 0.7.0-2015-05-06-增加对成套设备完工后射击指标的支持 0.6.0-2015-01-13-添加对自动消息集上默认计划的支持 转换