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.0.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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_sync_migrations-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f912ea3571d66ccdfe0097bf32010d9a5176cb9cdab28ccd7559821dd5b1f3ce
MD5 4e167a724a3c6734eeccf7a4d49e898b
BLAKE2b-256 f8e0b83d5af44d516cc7e7fb86a1c1c1fa739c2cc6cb1fd48d27b744cda25ad3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_sync_migrations-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3409a039ce97e556ac55f73fb048a8d44a60aa5484d907d97f9b5b5cedac3c4
MD5 8b7cdfe7fe0138fe947d681a8e2a30a3
BLAKE2b-256 c28177b0fa8d6ed701cb5f9667f141767a763a1de743e388e29302c7993ebc91

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