Skip to main content

Sync and validate additional information about your Django migrations.

Project description

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.


View the django-migration-docs docs here.


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.rst.

Primary Authors

  • @juemura (Juliana de Heer)

  • @wesleykendall (Wes Kendall)

  • @tomage (Tómas Árni Jónasson)

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

django-migration-docs-1.0.5.tar.gz (11.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page