TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Django 1.7 alpha 1 released

98 点作者 streeter超过 11 年前

7 条评论

cmsimike超过 11 年前
&gt; Applications can run code at startup, before Django does anything else, with the ready() method of their configuration.<p>I have been waiting for something like this for a very long time. No more wondering where signals should go. [0]<p>[0]<a href="https://docs.djangoproject.com/en/dev/ref/applications/#django.apps.AppConfig.ready" rel="nofollow">https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;dev&#x2F;ref&#x2F;applications&#x2F;#djan...</a>
评论 #7108659 未加载
评论 #7107320 未加载
shebson超过 11 年前
It&#x27;s great to see schema migrations move into Django core. South is great, but Django will be much better with schema migrations baked in, especially for newcomers.<p>For anyone coming to Django from Rails, South seems anomalous. Outside of database migrations, Django is a very battery-included framework, so it&#x27;s weird that until 1.7 data migrations were handled by third party tools (mostly South) and not mentioned at all in the Django documentation.<p>This is a big step for Django. I&#x27;m excited for the (not too distant) future when 1.7 is the official release.
评论 #7107190 未加载
评论 #7107468 未加载
acjohnson55超过 11 年前
Django&#x27;s all grown up! I&#x27;m pretty psyched about this release. Obviously, the long-awaited migrations functionality is the centerpiece, but for a framework without that many rough edges, they do such a great job of finding the ones that remain and terminating them. Looking forward to the end of magical models.py behavior; to stronger support for apps; easier to use custom QuerySets and reverse relation Managers; and Lookups, Transforms, and custom prefetching in the ORM. This is looking like the most exciting release since 1.4 for tightening up the core of the framework.<p>Anybody have any insight into what&#x27;s next?
评论 #7111834 未加载
jmgutn超过 11 年前
&gt; Additionally, users of South (a popular third-party package for schema migrations) should note that South is not compatible with the 1.7 alpha.<p>Is this because of the new migrations built-in module? [0]<p>[0]<a href="https://docs.djangoproject.com/en/dev/topics/migrations/" rel="nofollow">https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;dev&#x2F;topics&#x2F;migrations&#x2F;</a>
评论 #7108558 未加载
chrj超过 11 年前
Wasn&#x27;t the &quot;New system check framework&quot; already in 1.6? I remember seeing warnings about BooleanFields without defaults.
评论 #7108098 未加载
评论 #7111870 未加载
nkuttler超过 11 年前
The (preliminary) release notes are full of nice things <a href="https://docs.djangoproject.com/en/dev/releases/1.7/" rel="nofollow">https:&#x2F;&#x2F;docs.djangoproject.com&#x2F;en&#x2F;dev&#x2F;releases&#x2F;1.7&#x2F;</a>
collyw超过 11 年前
Only a week or so after I upgraded to 1.6