开发者

Is there a way to use south for migration , and not lose data?

I used South as the migration tool, but i dint know开发者_如何学C it will format all my db ! I dont want to lose my db .


It doesn't have to format your data, you can integrate existing apps/tables:

http://south.aeracode.org/docs/tutorial/part1.html#converting-existing-apps

Read through the docs before using it.


South shouldn't trash your data. But a Django gotcha in general to be aware of is that any initial_data fixtures will get imported whenever you do a syncdb, so bewore of leaving those files hanging around.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜