Skip to main content

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

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)

Uploaded Source

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

Hashes for django-sms-cn-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9520436f58284f21194898bb844deca421db20a389d633a4868f307ea76da6af
MD5 d6a605cfceb8234ec8b861dc2465e9f7
BLAKE2b-256 2bfb6e28998134cba5d88764b1bf9bb23afa230b274d7ff4c254da903d4b1c95

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page