Django migrations--is it possible to use South in

2019-02-17 18:33发布

I already started a project, and the models are all synced and everything.

3条回答
在下西门庆
2楼-- · 2019-02-17 19:21

It's quite straight forward to start using South.

Just follow the installation instructions (don't forget to run syncdb at the end).

Then you can convert the app to south:

./manage.py convert_to_south myapp

Then you can make modifications to your model and do schemamigrations or even do datamigrations.

查看更多
Explosion°爆炸
3楼-- · 2019-02-17 19:29

Yes. I think it is not too late. I've moved to south in a middle of a project and I am happy with that choice. I think it is a big help for deployment.

The initialization of the south app can be done at any moment.

查看更多
登录 后发表回答