Does core django supports migration without django-south or similar app?

折月煮酒 提交于 2019-12-02 05:06:03

No, it doesn't. South is considered as the 'de facto' standard for database migration in Django. Further reading can be found in the Django development wiki.

From the version 1.2 release notes:

Contrib-01 (Add South to contrib) - general consensus - including that of South's lead developer - is that South isn't yet ready to be a bonafide part of Django.

This, most probably, is still valid. South has it's limitations, it still has gaps that could be considered as flaws when being a django.contrib module.

That said, i want to add: south still is extremely userfull.

South is not the only migration app that works with Django. See http://djangopackages.com/grids/g/database-migration/ for some current options. Simon Willison also co-created Dmigrations but it's old and hasn't had a commit for a few years.

South is generally accepted to be the best at the moment, though I've not tried NashVegas (partly because South is so good, I've not needed to)

Update Oct 2013

Following a successful kickstarter campaign, schema migrations will be added to the Django core starting with version 1.7

https://docs.djangoproject.com/en/dev/releases/1.7/#schema-migrations

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