Skip to main content

Sync Django migrations to match the dev branch, then checkout dev.

Project description

django-sync-migrations

Sync Django migrations to match the dev branch, then checkout dev. Use when on a feature branch with migrations you want to discard before switching back to dev.

Install / run (from your Django project directory)

If published on PyPI:

uvx django-sync-migrations
uvx django-sync-migrations --dry-run
uvx django-sync-migrations --branch develop
uvx django-sync-migrations --skip-checkout

Requires a Django project (with manage.py), git, and a reachable database. The tool runs manage.py migrate using your project’s .venv Python when present.

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_sync_migrations-0.2.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

django_sync_migrations-0.2.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file django_sync_migrations-0.2.1.tar.gz.

File metadata

File hashes

Hashes for django_sync_migrations-0.2.1.tar.gz
Algorithm Hash digest
SHA256 91b18077b2ae754cc422f825af3cf10b81d9efcfd219bec2f69b3d6b5dd13272
MD5 9b803c59bb7ca4da760d3f35d11b028c
BLAKE2b-256 46b1a8e81d67bd0fe4ed804f8939f092695a4414ee6d8dcdda60ce9095e806f4

See more details on using hashes here.

File details

Details for the file django_sync_migrations-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_sync_migrations-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e51237ba66d7b6530e3089a2994fe8ce25db1f31c506c1f2643cd68539ffff6d
MD5 e331b5201fe3dd73d97de2fda5849533
BLAKE2b-256 c050d73645c31689be855f50e8c123889f010169b5f52eb0da9db2782573060a

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