Skip to main content

一款适用于django-vue-admin基于阿里云、腾讯云、华为云等官方短信服务开发的短信发送插件,快速整合各端的短信服务插件。

Project description

dvadmin-sms

介绍

一款适用于django-vue-admin基于阿里云、腾讯云、华为云等官方短信服务开发的短信发送插件,快速整合各端的短信服务插件。

功能及服务商

服务商

  • 阿里云短信服务
  • 腾讯云短信服务
  • 京东云短信服务
  • 华为云短信服务

功能

  • 通过手机号码限制短信发送频率
  • 通过IP地址限制短信发送频率
  • 发送登录短信验证码
  • 发送语音验证码
  • 发送注册短信验证码
  • 发送变更手机号短信验证码
  • 发送重置密码短信验证码
  • 发送更改密码短信验证码
  • 短信发送记录保存
  • 短信发送记录后台查看记录
  • 后台中控制台卡片展示信息

优惠短信包推荐

阿里云

200条/6.9元优惠 点我领取 1000条/35元优惠 点我领取

腾讯云

100条/3.5元优惠 点我领取 1000条/33.5元优惠 点我领取

安装包

使用pip安装软件包:

pip install dvadmin-sms

配置方式一: 一键导入注册配置

在 application / settings.py 插件配置中下导入默认配置

...
from dvadmin_sms.settings import *

配置方式二: 手动配置

在INSTALLED_APPS 中注册app

INSTALLED_APPS = [
    ...
    'dvadmin_sms',
]

在 application / urls.py 中注册url地址

urlpatterns = [
    ...
    re_path(r'api/sms/', include('dvadmin_sms.urls')),
]

进行迁移及初始化

python3 manage.py makemigrations 
python3 manage.py migrate 
# 注意备份初始化信息
python3 manage.py init -y 

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dvadmin-sms-1.0.7.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

dvadmin_sms-1.0.7-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file dvadmin-sms-1.0.7.tar.gz.

File metadata

  • Download URL: dvadmin-sms-1.0.7.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for dvadmin-sms-1.0.7.tar.gz
Algorithm Hash digest
SHA256 62203e86a3db8e12d21ade2783e5e254c5340bd7ed1621d56d6af7c330ed52a8
MD5 f98411cfe319e09168c84af91af5e217
BLAKE2b-256 a84618d1e6d0a7a0398ba6e63396f7627029e736c2e4b33fb0ffcb3f91572cbe

See more details on using hashes here.

File details

Details for the file dvadmin_sms-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: dvadmin_sms-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for dvadmin_sms-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ef801083bd6e7fd938a542660be15670b0584ec86c602675943b70278641937d
MD5 d53940f639642c52053a46f4bdb138a1
BLAKE2b-256 804d5932a0b0ffa59618ba56111ba3f125c3a40d052631fa6ba610646df40dc1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page