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 details)
File details
Details for the file django-sms-cn-0.1.1.tar.gz
.
File metadata
- Download URL: django-sms-cn-0.1.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9520436f58284f21194898bb844deca421db20a389d633a4868f307ea76da6af |
|
MD5 | d6a605cfceb8234ec8b861dc2465e9f7 |
|
BLAKE2b-256 | 2bfb6e28998134cba5d88764b1bf9bb23afa230b274d7ff4c254da903d4b1c95 |