Django 1.11.4 版本发行说明
Django 1.11.4 修复了 1.11.3 中的几个漏洞。
- Fixed a regression in 1.11.3 on Python 2 where non-ASCII values for date/time widgets results in an empty
value
in the widget’s HTML (#28355). - Fixed a regression in pickling of
LazyObject
on Python 2 when the wrapped object doesn’t have__reduce__()
(). - Fixed crash in
runserver
‘sautoreload
with Python 2 on Windows with non-str
environment variables (#28174). - Fixed
QuerySet.count()
forunion()
,difference()
, andintersection()
queries. (). - Fixed rendering as a subwidget of
MultiWidget
(#28414). Customclearable_file_input.html
widget templates will need to adapt for the fact that context valuescheckbox_name
,checkbox_id
,is_initial
,input_text
,initial_text
, andclear_checkbox_label
are now attributes ofwidget
rather than appearing in the top-level context.