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.
$ pip install django-south-compass
Go to your git repo and do:
$ django-south-compass install
This will set up a git hook so that whenever you checkout a branch, your migrations are synced up.
E.g.
$ 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
3 Clause BSD.
For bug reports, open a github ticket. Patches gratefully accepted. Need help? Contact us here
This fork do thing in way you can lose data (hard rest) If you have uncommited file stash them before checkout/merge/rebase
Django south compass was inspired by hookup for rails.