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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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