Django 6.0 beta 1 发布
Django 6.0 beta 1 released

原始链接: https://www.djangoproject.com/weblog/2025/oct/22/django-60-beta-released/

Django 6.0 beta 1现已发布,可供测试,标志着6.0发布周期的第二阶段。这个beta版本允许开发者预览即将发布的功能和在开发中的发布说明中详细描述的变更。 现在到最终发布之间,重点将放在修复新功能中的bug以及来自先前Django版本的回归问题。翻译将在发布候选版本阶段最终确定。当前计划是在大约一个月后发布候选版本,然后在12月3日发布最终的Django 6.0版本。 **重要提示:**此beta版本**不**适用于生产环境。Django团队鼓励社区进行测试和通过问题跟踪器报告bug,以确保最终发布的稳定性。您可以在下载页面或PyPI上找到beta包。

## Django 6.0 Beta 1 发布 - 摘要 Django 6.0 beta 1现已发布,引入了一个新的`tasks`框架,旨在取代Celery等异步任务管理解决方案。用户对这一新增功能感到兴奋,希望在框架内获得更“开箱即用”的体验。 然而,讨论强调了对第三方软件包的持续依赖,这些软件包提供了一些人认为应该成为Django核心组件的功能,包括设置管理、日志记录、数据库URL解析和模板。静态类型集成对一些人来说也存在挑战。 新的任务框架目前缺乏内置的worker支持,但旨在为社区开发的后端提供标准化的接口。对Celery脆弱性的担忧以及对更简单解决方案的渴望正在推动对这种新方法的兴趣。 兼容性问题,例如与旧版Python(如Ubuntu 22.04的3.10)的兼容性,已被注意到,需要用户使用`pyenv`等工具或升级其Python环境。总体而言,该版本受到了热情欢迎,特别是其简化任务管理的潜力。
相关文章

原文

Django 6.0 beta 1 is now available. It represents the second stage in the 6.0 release cycle and is an opportunity to try out the changes coming in Django 6.0.

Django 6.0 assembles a mosaic of modern tools and thoughtful design, which you can read about in the in-development 6.0 release notes.

Only bugs in new features and regressions from earlier Django versions will be fixed between now and the 6.0 final release. Translations will be updated following the "string freeze", which occurs when the release candidate is issued. The current release schedule calls for a release candidate in about a month, with the final release scheduled roughly two weeks later on December 3.

Early and frequent testing from the community will help minimize the number of bugs in the release. Updates on the release schedule are available on the Django forum.

As with all alpha and beta packages, this release is not for production use. However, if you'd like to try some of the new features or help find and fix bugs (which should be reported to the issue tracker), you can grab a copy of the beta package from our downloads page or on PyPI.

The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E

联系我们 contact @ memedata.com