A Django app to use sms
Project description
Django SMS CN
基于Django的短信模块
Platforms
Quick start
安装django-sms-cn
$ pip install django-sms-cn
在settings.py
中修改INSTALLED_APPS
INSTALLED_APPS = [ ... 'sms' ]
在settings.py
底部加配置信息
SMS = { 'default': '253', 'appid': '', 'secret': '' }
修改urls.py
urlpatterns = [ ... path('sms/', include('sms.urls')) ]
更新数据库
$ python manage.py migrate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-sms-cn-0.1.1.tar.gz
(8.3 kB
view hashes)