指南针是指导你南迁的工具。
django-south-compass的Python项目详细描述
这是什么?
Django South Compass是指导您南迁的工具。
它是一个git钩子,使您的south迁移与存储库保持同步。
安装
$ pip install django-south-compass
用法
转到git repo并执行以下操作:
$ django-south-compass install
这将设置一个git钩子,以便每当您签出分支时, 迁移已同步。
例如
$ 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 BSD条款。
错误报告和帮助
对于bug报告,请打开github票证。补丁欣然接受。需要帮助吗?Contact us here
谢谢
django south compass的灵感来自于rails的hookup。