Django 1.9.7 发布了。Django 是 Python 编程语言驱动的一个开源模型-视图-控制器(MVC)风格的 Web 应用程序框架。使用 Django,我们在几分钟之内就可以创建高品质、易维护、数据库驱动的应用程序。
Django 框架的核心组件有:
用于创建模型的对象关系映射
为最终用户设计的完美管理界面
一流的 URL 设计
设计者友好的模板语言
缓存系统
该版本一些改进:
Removed the need for the
request
context processor on the admin login page to fix a regression in 1.9 (#26558).Fixed translation of password validators’
help_text
in forms (#26544).Fixed a regression causing the cached template loader to crash when using lazy template names (#26603).
Fixed
on_commit
callbacks execution order when callbacks make transactions (#26627).Fixed
HStoreField
to raise aValidationError
instead of crashing on non-dictionary JSON input (#26672).Fixed
dbshell
crash on PostgreSQL with an empty database name (#26698).Fixed a regression in queries on a
OneToOneField
that hasto_field
andprimary_key=True
(#26667).