跳转到主要内容

用于通过http://www.textlocal.com发送和接收短信的应用程序

项目描述

用于从textlocal.com发送和接收短信(SMS)

安装

pip install django-txtlocal

接收消息

添加到您的 urls.py

url(r'^', include('txtlocal.urls'))

添加到您的 settings.py

INSTALLED_APPS = (
    ...
    'txtlocal',
    ...
)

运行

python manage.py syncdb

发送消息

添加到您的 settings.py

TXTLOCAL_USERNAME = Your username with textlocal
TXTLOCAL_PASSWORD = Your password with textlocal
TXTLOCAL_FROM = Word up to 11 characters or number up to 14 digits. String.

您还可以设置 TXTLOCAL_ENDPOINT。默认为 https://www.txtlocal.com/sendsmspost.php

常见问题解答

为什么是txtlocal,而不是tExtlocal?

因为textlocal.com曾经是txtlocal.co.uk

项目详情


下载文件

为您的平台下载文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分发

django-txtlocal-1.1.3.tar.gz (3.5 kB 查看哈希)

上传时间:

由以下组织支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面