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
Metadata
Release files for django-sms-cn 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-sms-cn-0.1.1.tar.gz | 8.3 kB | Without provenance | Details for django-sms-cn-0.1.1.tar.gz |
Release files / django-sms-cn-0.1.1.tar.gz
| Download URL | django-sms-cn-0.1.1.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9520436f58284f21194898bb844deca421db20a389d633a4868f307ea76da6af
|
|
BLAKE2b-256 checksum How to use checksums |
2bfb6e28998134cba5d88764b1bf9bb23afa230b274d7ff4c254da903d4b1c95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for django-sms-cn 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.