Compass is a tool to guide your south migrations.
Project description
What is it?
Django south compass is a tool to guide your south migrations.
It is a git hook that keeps your south migrations in sync with your repository.
Installation
$ pip install django-south-compass
Usage
Go to your git repo and do:
$ django-south-compass install
This will setup a git hook so that whenever you checkout a branch, you’re migrations are synced up.
Eg.
$ git branch
* master
feature1
feature2
$ git checkout feature1
# Migrates to any new migrations added in feature1
$ git checkout master
# Migrates back to the last migration in master
$ git checkout feature2
# Migrates to any new migrations added in feature2
$ git checkout feature1
# Migrates back to the last migration common between
# feature1 and feature2, then migrates forward to feature1
License
3 Clause BSD.
Bug report and Help
For bug reports open a github ticket. Patches gratefully accepted. Need help? Contact us here
Thanks
Django south compass was inspired by hookup for rails.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-south-compass-0.0.2a0.tar.gz
.
File metadata
- Download URL: django-south-compass-0.0.2a0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0c022a3a63a86f79fb5b2aa05ed71e259fbc6dc30c9fa50834914090da34ccf |
|
MD5 | f5a6a2bf4ba7df98f3b26c3940d351e8 |
|
BLAKE2b-256 | 4a3726d2850ce4f4197592c5b408e35aab9bba2a7e33bfd2b8a7089cd848cf22 |