Skip to main content

django-yunpian-app

继承了云片的app. 里面有各种适应云片网的model

安装

pip install django-yunpian-app

基础引入

  1. 编辑<your_project>/settings.py
INSTALLED_APPS = [
    ...
    "django_yunpian"
    ...
]
  1. 创建数据库表
python manage.py migrate
  1. 根据自己的数据,创建账号,签名
from django_yunpian.models import Account, Sign, Template
account = Account.objects.create(
    ...
)
sign = Sign.objects.create(
    account=account,
    ...
)
template = Template.objects.create(
    sign=sign
    ...
)
  1. 发送短信
from django_yunpian.models import Message
Message.objects.create(
    template = template,
    ...
)

Metadata

Release files for django-yunpian-app 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-yunpian-app 1.1.0
File Size Uploaded Provenance Actions
django-yunpian-app-1.1.0.tar.gz 17.9 kB Without provenance Details for django-yunpian-app-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-yunpian-app 1.1.0
File Interpreter ABI Platform Actions
django_yunpian_app-1.1.0-py3-none-any.whl Python 3 none any Details for django_yunpian_app-1.1.0-py3-none-any.whl

Total release size: 39.0 kB

Release files / django-yunpian-app-1.1.0.tar.gz

Download URL django-yunpian-app-1.1.0.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5e83a2a6156e6e4da68fd8bb89efc728ea1c1853a23095d3ae71700f17c604c8
BLAKE2b-256 checksum
How to use checksums
cda2199d96f31474a596508cc083aaa16c19c83823434f4d9240e01de2f4dd50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / django_yunpian_app-1.1.0-py3-none-any.whl

Download URL django_yunpian_app-1.1.0-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22cdcd9af3ef9ad8322c20691b23de6ec2379d723e78ee6ab97875a67febd76e
BLAKE2b-256 checksum
How to use checksums
0f4e2c93379322c7269cce5625a404b99ba5efe5442cc364b46555761f6c5341
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Security for django-yunpian-app 1.1.0

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.

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