Django 1.11.6 版本发行说明
2017 年 10 月 5 日
Django 1.11.6 修复了 1.11.5 中的几个漏洞。
漏洞修复
- Made the
CharFieldform field convert whitespace-only values to theempty_valuewhenstripis enabled (#28555). - Fixed crash when using the name of a model's autogenerated primary key
(
id) in anIndex'sfields(#28597). - Fixed a regression in Django 1.9 where a custom view error handler such as
handler404that accessescsrf_tokencould cause CSRF verification failures on other pages (#28488).
讨论区