What is the difference between south migrations and django migrations?

随声附和 提交于 2020-04-12 12:02:10

问题


Can anyone please explain me the difference between south migrations and django migrations? What advantage/disadvantage one has over another?


回答1:


South is a third part django app that added support for migrations before a builtin migration solution was introduced in Django 1.7. Unless you're stuck with a long-dead Django version, there's no reason you should use South at all. FWIW, just checking the south project's page should have answered your question:

South has been deprecated.

From Django 1.7 upwards, migrations are built into the core of Django. If you are running a previous version, you can find the repository on BitBucket.

Feature-wide both are quite similar (which is not a big surprise since the new builtin migration system started it's life as the 2.0 branch of South), except the new system works better, specially when you have to merge two branches each having it's own migrations.



来源:https://stackoverflow.com/questions/52258913/what-is-the-difference-between-south-migrations-and-django-migrations

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!