Django 1.10.2 版本发行说明
2016 年 10 月 1 日
Django 1.10.2 修复了 1.10.1 中的几个漏洞。
漏洞修复
- Fixed a crash in MySQL database validation where
SELECT @@sql_modedoesn't return a result (#27180). - Allowed combining
contrib.postgres.search.SearchQuerywith more than one&or|operators (#27143). - Disabled system check for URL patterns beginning with a '/' when
APPEND_SLASH=False(#27238). - Fixed model form
defaultfallback forCheckboxSelectMultiple,MultiWidget,FileInput,SplitDateTimeWidget,SelectDateWidget, andSplitArrayWidget(#27186). Custom widgets affected by this issue should implementvalue_omitted_from_data(). - Fixed a crash in
runserverlogging during a "Broken pipe" error (#27271). - Fixed a regression where unchanged localized date/time fields were listed as changed in the admin's model history messages (#27302).
讨论区