Django 1.11.8 版本发行说明
2017 年 12 月 2 日
Django 1.11.8 修复了 1.11.7 中的几个漏洞。
漏洞修复
- Reallowed, following a regression in Django 1.10,
AuthenticationFormto raise the inactive user error when usingModelBackend(#28645). - Added support for
QuerySet.values()andvalues_list()forunion(),difference(), andintersection()queries (#28781). - Fixed incorrect index name truncation when using a namespaced
db_table(#28792). - Made
QuerySet.iterator()use server-side cursors on PostgreSQL aftervalues()andvalues_list()(#28817). - Fixed crash on SQLite and MySQL when ordering by a filtered subquery that
uses
nulls_firstornulls_last(#28848). - Made query lookups for
CICharField,CIEmailField, andCITextFielduse acitextcast (#28702). - Fixed a regression in caching of a
GenericForeignKeywhen the referenced model instance uses multi-table inheritance (#28856). - Fixed "Cannot change column 'x': used in a foreign key constraint" crash on
MySQL with a sequence of
AlterFieldand/orRenameFieldoperations in a migration (#28305).
讨论区