Sync and validate additional information about your Django migrations.
Project description
django-migration-docs
Migrations can be one of the most challenging aspects of deploying a Django application at scale. Depending on the size of tables and flavor of database, some migrations can easily lock some of the most important tables and bring down an application if more scrutiny isn't applied towards deployed migrations. Along with this, sometimes we must document more critical metadata about a migration before it is even deployed, such as when the migration should run in the deployment process.
django-migration-docs
provides the ability to collect more structured information about every migration in your Django project. Along with this, it also automatically collects important metadata about migrations like the raw SQL so that more information is available for reviewers and maintainers of a large project.
When django-migration-docs
is installed, users will be prompted for more information about migrations using a completely customizable schema that can be linted in continuous integration. The default prompt looks like the following:
Check out the docs for more information about how to use django-migration-docs
in your application.
Compatibility
django-migration-docs
is compatible with Python 3.9 - 3.13 and Django 4.2 - 5.1.
Documentation
View the django-migration-docs docs here
Installation
Install django-migration-docs
with:
pip3 install django-migration-docs
After this, add migration_docs
to the INSTALLED_APPS
setting of your Django project.
Contributing Guide
For information on setting up django-migration-docs for development and contributing changes, view CONTRIBUTING.md.
Creators
- @juemura (Juliana de Heer)
- @wesleykendall (Wes Kendall)
- @tomage (Tómas Árni Jónasson)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_migration_docs-1.4.0.tar.gz
.
File metadata
- Download URL: django_migration_docs-1.4.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde3ead6995f8042dac4294f935d7dd0914cfbf0e48a35bb9029c306575e1d90 |
|
MD5 | 429aa01fc54df981bff47cde767999c5 |
|
BLAKE2b-256 | c1af32346e8571d1ef5a87b948f88f4a78f19e0edbe715d312c1d25face287c7 |
File details
Details for the file django_migration_docs-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: django_migration_docs-1.4.0-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/5.15.0-1057-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3802e5d28bedc6a52bc5faed84563ccb304635e0a37e73c1782491cc5a022c39 |
|
MD5 | 510390b35c5a6b0d85d1a133734938a1 |
|
BLAKE2b-256 | 24bf67ea9a73545733300701439babb8c667df4be4eb76fc92110411c8ed4ab4 |