Django 1.10.4 release notes¶
2016年12月1日
Django 1.10.4 fixes several bugs in 1.10.3.
Bugfixes¶
- クエリー内の Oracle のテストユーザーのパスワードをクオートしました。これは、パスワードの先頭が数字または特別な文字から始まる場合に発生する、"ORA-00922: missing or invalid option" エラー (#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).