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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_sync_migrations-0.2.1.tar.gz.
File metadata
- Download URL: django_sync_migrations-0.2.1.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b18077b2ae754cc422f825af3cf10b81d9efcfd219bec2f69b3d6b5dd13272
|
|
| MD5 |
9b803c59bb7ca4da760d3f35d11b028c
|
|
| BLAKE2b-256 |
46b1a8e81d67bd0fe4ed804f8939f092695a4414ee6d8dcdda60ce9095e806f4
|
File details
Details for the file django_sync_migrations-0.2.1-py3-none-any.whl.
File metadata
- Download URL: django_sync_migrations-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e51237ba66d7b6530e3089a2994fe8ce25db1f31c506c1f2643cd68539ffff6d
|
|
| MD5 |
e331b5201fe3dd73d97de2fda5849533
|
|
| BLAKE2b-256 |
c050d73645c31689be855f50e8c123889f010169b5f52eb0da9db2782573060a
|