django-linear-migrations:确保您的迁移历史记录是线性的

时间:2021-03-16 02:47:19
【文件属性】:
文件名称:django-linear-migrations:确保您的迁移历史记录是线性的
文件大小:91KB
文件格式:ZIP
更新时间:2021-03-16 02:47:19
Python django-linear-migrations 确保您的迁移历史记录是线性的。 有关背景知识,请参见。 要求 支持Python 3.6至3.9。 支持Django 2.2到3.2。 你的考试慢吗? 查看我的《一书,其中涵盖了许多最佳实践,因此您可以编写更快,更准确的测试。 安装 首先,使用pip安装: python -m pip install django-linear-migrations 其次,将应用程序添加到您的INSTALLED_APPS设置中: INSTALLED_APPS = [ ... " django_linear_migrations ", ... ] 该应用程序依赖于覆盖内置的makemigrations命令。 如果您的项目有一个自定义的makemigrations命令,请确保包含该自定义命令的应用程序位于django_li
【文件预览】:
django-linear-migrations-main
----MANIFEST.in(241B)
----README.rst(9KB)
----pyproject.toml(172B)
----pytest.ini(67B)
----.github()
--------SECURITY.md(65B)
--------workflows()
--------CODE_OF_CONDUCT.md(89B)
----tests()
--------test_makemigrations.py(3KB)
--------test_rebase_migration.py(16KB)
--------__init__.py(0B)
--------settings.py(270B)
--------test_create_max_migration_files.py(5KB)
--------testapp()
--------test_checks.py(3KB)
----tox.ini(1KB)
----LICENSE(1KB)
----src()
--------django_linear_migrations()
----HISTORY.rst(2KB)
----setup.cfg(1KB)
----requirements()
--------py38-django22.txt(7KB)
--------py37-django31.txt(8KB)
--------py39-django22.txt(7KB)
--------requirements.in(53B)
--------py37-django30.txt(8KB)
--------py39-django32.txt(7KB)
--------py37-django22.txt(8KB)
--------py37-django32.txt(8KB)
--------py39-django31.txt(7KB)
--------py38-django30.txt(7KB)
--------py38-django31.txt(7KB)
--------compile.py(4KB)
--------py36-django32.txt(8KB)
--------py39-django30.txt(7KB)
--------py38-django32.txt(7KB)
--------py36-django30.txt(8KB)
--------py36-django31.txt(8KB)
--------py36-django22.txt(8KB)
----setup.py(38B)
----.gitignore(424B)
----.editorconfig(249B)
----.pre-commit-config.yaml(778B)

网友评论