Skip to main content

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:

Migration Docs

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.8 - 3.12 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)

Metadata

Release files for django-migration-docs 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-migration-docs 1.3.0
File Size Uploaded
django_migration_docs-1.3.0.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-migration-docs 1.3.0
File Interpreter ABI Platform
django_migration_docs-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.4 kB

Release files / django_migration_docs-1.3.0.tar.gz

Download URL django_migration_docs-1.3.0.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d0d0d1822f465153d7dd0bc22798ece8f2d7c01c70b565af4e5f108522c5d91b
BLAKE2b-256 checksum
How to use checksums
ea1010b142c4cbfe2728ffb5d350abedd543ec203127b96a0ac38ec16bedff9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-1057-aws

Release files / django_migration_docs-1.3.0-py3-none-any.whl

Download URL django_migration_docs-1.3.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4059bbae1cbabb36e1f6c3c44fba2deac3f1ee85c94659525e5b139bbac04c28
BLAKE2b-256 checksum
How to use checksums
d4cee2c456cd11255c1c75d0051f4408222f98e5859b66c96cb845d0e96f474f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.3 Linux/5.15.0-1057-aws

Release history Release notifications | RSS feed

1.4.0

2 release files

This release

1.3.0 This release

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page