Django本地支持迁移 [英] Does Django natively support migrations
问题描述
我也知道有一些外部包,如south,用于模式迁移。但是这个问题真的是关于为什么django不支持迁移的原因,像ROR
Django 1.7将是第一个在核心源中提供模式迁移的版本。检查开发商。版本的文档关于此主题。
南方创始人安德鲁·戈德温(Andrew Godwin)做了这个工作,由一个启动器项目。
I've heard that all the new web frameworks like ROR, Django etc. follow the general principle of Agile and TDD. One part of following Agile and TDD is to make up your own design as you go from one iteration to other. This means that models and their schema will evolve with different versions of the app. I know that ROR supports schema migrations natively, However I'm not sure about django. My major concern is that how can I decide upfront all the schema related issues. Isn't it going back to waterfall kind of design philosophy.
I also know that there are external packages like 'south' for schema migrations. But this question is really about inquiring as to why django doesn't support migrations natively like ROR
Django 1.7 will be the first version providing schema migrations in the core source. check the dev. version of the docs regarding this topic.
Andrew Godwin, the creator of South, did this work, backed by a kickstarter project.
这篇关于Django本地支持迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!