Django 1.10.4 发布了,Django 是 Python 编程语言驱动的一个开源模型-视图-控制器(MVC)风格的 Web 应用程序框架。使用 Django,我们在几分钟之内就可以创建高品质、易维护、数据库驱动的应用程序。
更新内容如下:
Bug修复
Quoted the Oracle test user’s password in queries to fix the “ORA-00922: missing or invalid option” error when the password starts with a number or special character (#27420).
Fixed incorrect
app_label
/model_name
arguments forallow_migrate()
inmakemigrations
migration consistency checks (#27461).Made
Model.delete(keep_parents=True)
preserve parent reverse relationships in multi-table inheritance (#27407).Fixed a
QuerySet.update()
crash on SQLite when updating aDateTimeField
with anF()
expression and atimedelta
(#27544).Prevented
LocaleMiddleware
from redirecting on URLs that should return 404 when usingprefix_default_language=False
(#27402).Prevented an unnecessary index from being created on an InnoDB
ForeignKey
when the field was added after the model was created (#27558).
完整更新内容请看更新日志。
下载地址: