Skip to main content

适用用 django-vue-admin 的升级中心后端插件

Project description

dvadmin-upgrade-center

介绍

dvadmin-upgrade-center 是一款升级中心后端插件。

安装包

使用pip安装软件包:

pip install dvadmin-upgrade-center

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

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

...
from dvadmin_upgrade_center.settings import *

配置方式二: 手动配置

在INSTALLED_APPS 中注册app

INSTALLED_APPS = [
    ...
    'dvadmin_upgrade_center',
]

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

urlpatterns = [
    ...
    re_path(r'api/dvadmin_upgrade_center/', include('dvadmin_upgrade_center.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-upgrade-center-1.0.2.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

dvadmin_upgrade_center-1.0.2-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file dvadmin-upgrade-center-1.0.2.tar.gz.

File metadata

File hashes

Hashes for dvadmin-upgrade-center-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d7ff59014d7d8a674002ac3c51ad1db032521000992063d9c88afff49eb2f396
MD5 3a12903df072594bc9e5e30b0e3c9d93
BLAKE2b-256 87a0a2495558d303d5848da269ad16ba6deb1ae334102194bca5b43e66ac4fb3

See more details on using hashes here.

File details

Details for the file dvadmin_upgrade_center-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for dvadmin_upgrade_center-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05d8029545f1ceaae10a0d0cbcd2a02219fbc5c6daf51c5974f8bf1194091b92
MD5 9f12308948b615265fb69a9ed106f75c
BLAKE2b-256 c4eb69bd5a85ebe588eeb121aae2d87e627146fa1269f38125ed6a1fbe353d9e

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