Skip to main content

Etu Django Migrations Cache Manager Tool。

Project description

概括

etu 系列(easy to use)
让技术更容易使用!
Etu Django Migrations Cache Manager Tool,此工具是用于Django框架项目,功能主要是管理 Migrations 缓存,
实现让 Python 项目更容易上容器,解决容器生命周期 migrations 文件管理不便的问题。

说明

本包名字为 etu-django-mcmt , 通过 setting 配置中 INSTALLED_APPS 的方式导入 etu_django_mcmt 即可。
目前此工具只支持单一数据库路由模式,不可用于多数据库路由模式,且数据类型为 MySQL 类型。

安装方法

通过pip命令进行安装:pip install etu-django-mcmt==1.0.0

参数说明

# settings.py 中新增 etu_django_mcmt
    INSTALLED_APPS = [
        'etu_django_mcmt',
    ]
# 配置说明
DCM_DB_ALIAS = 'default' # 在setting中或者环境变量配置,默认是 default ,可以不用配置

使用方法

    python manage.py db_makemigrations 
    python manage.py db_migrate 

错误反馈

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

etu-django-mcmt-1.0.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

etu_django_mcmt-1.0.0-py3-none-any.whl (24.3 kB view details)

Uploaded Python 3

File details

Details for the file etu-django-mcmt-1.0.0.tar.gz.

File metadata

  • Download URL: etu-django-mcmt-1.0.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for etu-django-mcmt-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3b98e4b511f97dc7e01945dddf9522e145533d4c33e43233c66a7fa72cbf16e9
MD5 acc18f2a1b74f41bb0bb55fb0e89ad0d
BLAKE2b-256 49f7250206d31878656cd7944e0f4e81cba3d254ecdcc04e067d80ea8fe02943

See more details on using hashes here.

File details

Details for the file etu_django_mcmt-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for etu_django_mcmt-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55be8610879fec2da12c0730dd6f4ebe750ec4da4a53212df1047cf7595a833b
MD5 b318f029a00c7732b2aa29a64a39d01a
BLAKE2b-256 3c36f905aa5548c99b77f5439808660eb1abf8da3ab30ede0a11342fad9aecf7

See more details on using hashes here.

Supported by

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