| 1 |
=========================== |
| 2 |
Django 1.11.4 release notes |
| 3 |
=========================== |
| 4 |
|
| 5 |
*August 1, 2017* |
| 6 |
|
| 7 |
Django 1.11.4 fixes several bugs in 1.11.3. |
| 8 |
|
| 9 |
Bugfixes |
| 10 |
======== |
| 11 |
|
| 12 |
* Fixed a regression in 1.11.3 on Python 2 where non-ASCII ``format`` values |
| 13 |
for date/time widgets results in an empty ``value`` in the widget's HTML |
| 14 |
(:ticket:`28355`). |
| 15 |
|
| 16 |
* Fixed ``QuerySet.union()`` and ``difference()`` when combining with |
| 17 |
a queryset raising ``EmptyResultSet`` (:ticket:`28378`). |
| 18 |
|
| 19 |
* Fixed a regression in pickling of ``LazyObject`` on Python 2 when the wrapped |
| 20 |
object doesn't have ``__reduce__()`` (:ticket:`28389`). |
| 21 |
|
| 22 |
* Fixed crash in ``runserver``'s ``autoreload`` with Python 2 on Windows with |
| 23 |
non-``str`` environment variables (:ticket:`28174`). |
| 24 |
|
| 25 |
* Corrected ``Field.has_changed()`` to return ``False`` for disabled form |
| 26 |
fields: ``BooleanField``, ``MultipleChoiceField``, ``MultiValueField``, |
| 27 |
``FileField``, ``ModelChoiceField``, and ``ModelMultipleChoiceField``. |
| 28 |
|
| 29 |
* Fixed ``QuerySet.count()`` for ``union()``, ``difference()``, and |
| 30 |
``intersection()`` queries. (:ticket:`28399`). |
| 31 |
|
| 32 |
* Fixed ``ClearableFileInput`` rendering as a subwidget of ``MultiWidget`` |
| 33 |
(:ticket:`28414`). Custom ``clearable_file_input.html`` widget templates |
| 34 |
will need to adapt for the fact that context values |
| 35 |
``checkbox_name``, ``checkbox_id``, ``is_initial``, ``input_text``, |
| 36 |
``initial_text``, and ``clear_checkbox_label`` are now attributes of |
| 37 |
``widget`` rather than appearing in the top-level context. |
| 38 |
|
| 39 |
* Fixed queryset crash when using a ``GenericRelation`` to a proxy model |
| 40 |
(:ticket:`28418`). |