Django 1.7 vs Django1.6 vs Django 1.5

时间:2021-10-30 19:21:28

I have been developing using Django 1.5 a lot. Is it worth the time to shift from Django 1.5 to Django 1.6 or Django 1.7? I know, In 1.7, migration is into the core of Django. How different is it from south?

我一直在使用Django 1.5,它是否值得花时间从Django 1.5转换到Django 1.6或Django 1.7?我知道,在1.7章中,迁移进入了Django的核心。它和南方有什么不同?

1 个解决方案

#1


17  

Django 1.6 is a relatively incremental update compared to Django 1.7.

与Django 1.7相比,Django 1.6是一个相对增量的更新。

Django 1.6 adds a few comfort features (i.e., simplified project templates and admin enabling by default) for new projects, and some minor overhauls in algorithms (i.e., model save). There are also a myriad of other features that make development relatively easier when compared to 1.5.

Django 1.6增加了一些舒适的特性(例如,简化了新项目的项目模板和默认的管理支持,并对算法进行了一些小的修改(例如:模型保存)。与1.5相比,还有许多其他特性使开发相对容易。

Django 1.7, as you've noted, includes the migration features. In addition, it forces Python 2.7 (which may or may not be an issue for you). The migration is based off of South, so it's similar to use. In addition to various improvements, the plugin focused on being database agnostic, improved autodetection and improved the migration file format.

Django 1.7包含了迁移特性。此外,它强制使用Python 2.7(这对您可能是问题,也可能不是问题)。迁移是基于南方的,所以它类似于使用。除了各种改进之外,插件还关注于数据库不可知、改进自动检测和改进迁移文件格式。

With both of these updates, your workflow shouldn't change significantly.

对于这两个更新,您的工作流程不应该有太大的变化。

#1


17  

Django 1.6 is a relatively incremental update compared to Django 1.7.

与Django 1.7相比,Django 1.6是一个相对增量的更新。

Django 1.6 adds a few comfort features (i.e., simplified project templates and admin enabling by default) for new projects, and some minor overhauls in algorithms (i.e., model save). There are also a myriad of other features that make development relatively easier when compared to 1.5.

Django 1.6增加了一些舒适的特性(例如,简化了新项目的项目模板和默认的管理支持,并对算法进行了一些小的修改(例如:模型保存)。与1.5相比,还有许多其他特性使开发相对容易。

Django 1.7, as you've noted, includes the migration features. In addition, it forces Python 2.7 (which may or may not be an issue for you). The migration is based off of South, so it's similar to use. In addition to various improvements, the plugin focused on being database agnostic, improved autodetection and improved the migration file format.

Django 1.7包含了迁移特性。此外,它强制使用Python 2.7(这对您可能是问题,也可能不是问题)。迁移是基于南方的,所以它类似于使用。除了各种改进之外,插件还关注于数据库不可知、改进自动检测和改进迁移文件格式。

With both of these updates, your workflow shouldn't change significantly.

对于这两个更新,您的工作流程不应该有太大的变化。