{"title":"Django 1.11.4 release notes","version":"dev","locale":"en","docname":"releases/1.11.4","url":"/en/dev/releases/1.11.4/","canonical":"https://djangodocs.dev/en/dev/releases/1.11.4/","summary":"Django 1.11.4 fixes several bugs in 1.11.3. Fixed a regression in 1.11.3 on Python 2 where non-ASCII format values for date/time widgets results in an empty…","html":"<h1>Django 1.11.4 release notes<a class=\"heading-anchor\" href=\"#django-1-11-4-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>August 1, 2017</em></p>\n<p>Django 1.11.4 fixes several bugs in 1.11.3.</p>\n<section id=\"bugfixes\">\n<h2>Bugfixes<a class=\"heading-anchor\" href=\"#bugfixes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<ul class=\"simple\">\n<li><p>Fixed a regression in 1.11.3 on Python 2 where non-ASCII <code class=\"docutils literal notranslate\">format</code> values\nfor date/time widgets results in an empty <code class=\"docutils literal notranslate\">value</code> in the widget’s HTML\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28355\">#28355</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">QuerySet.union()</code> and <code class=\"docutils literal notranslate\">difference()</code> when combining with\na queryset raising <code class=\"docutils literal notranslate\">EmptyResultSet</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28378\">#28378</a>).</p></li>\n<li><p>Fixed a regression in pickling of <code class=\"docutils literal notranslate\">LazyObject</code> on Python 2 when the wrapped\nobject doesn’t have <code class=\"docutils literal notranslate\">__reduce__()</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28389\">#28389</a>).</p></li>\n<li><p>Fixed crash in <code class=\"docutils literal notranslate\">runserver</code>’s <code class=\"docutils literal notranslate\">autoreload</code> with Python 2 on Windows with\nnon-<code class=\"docutils literal notranslate\">str</code> environment variables (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28174\">#28174</a>).</p></li>\n<li><p>Corrected <code class=\"docutils literal notranslate\">Field.has_changed()</code> to return <code class=\"docutils literal notranslate\">False</code> for disabled form\nfields: <code class=\"docutils literal notranslate\">BooleanField</code>, <code class=\"docutils literal notranslate\">MultipleChoiceField</code>, <code class=\"docutils literal notranslate\">MultiValueField</code>,\n<code class=\"docutils literal notranslate\">FileField</code>, <code class=\"docutils literal notranslate\">ModelChoiceField</code>, and <code class=\"docutils literal notranslate\">ModelMultipleChoiceField</code>.</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">QuerySet.count()</code> for <code class=\"docutils literal notranslate\">union()</code>, <code class=\"docutils literal notranslate\">difference()</code>, and\n<code class=\"docutils literal notranslate\">intersection()</code> queries. (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28399\">#28399</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">ClearableFileInput</code> rendering as a subwidget of <code class=\"docutils literal notranslate\">MultiWidget</code>\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28414\">#28414</a>). Custom <code class=\"docutils literal notranslate\">clearable_file_input.html</code> widget templates\nwill need to adapt for the fact that context values\n<code class=\"docutils literal notranslate\">checkbox_name</code>, <code class=\"docutils literal notranslate\">checkbox_id</code>, <code class=\"docutils literal notranslate\">is_initial</code>, <code class=\"docutils literal notranslate\">input_text</code>,\n<code class=\"docutils literal notranslate\">initial_text</code>, and <code class=\"docutils literal notranslate\">clear_checkbox_label</code> are now attributes of\n<code class=\"docutils literal notranslate\">widget</code> rather than appearing in the top-level context.</p></li>\n<li><p>Fixed queryset crash when using a <code class=\"docutils literal notranslate\">GenericRelation</code> to a proxy model\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/28418\">#28418</a>).</p></li>\n</ul>\n</section>","rootId":"django-1-11-4-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/1.11.5","title":"Django 1.11.5 release notes","url":"/en/dev/releases/1.11.5/"},"next":{"docname":"releases/1.11.3","title":"Django 1.11.3 release notes","url":"/en/dev/releases/1.11.3/"},"formats":{"html":"/en/dev/releases/1.11.4/","markdown":"/en/dev/releases/1.11.4.md","json":"/en/dev/releases/1.11.4.json"},"source":"https://github.com/django/django/blob/main/docs/releases/1.11.4.txt","official":"https://docs.djangoproject.com/en/dev/releases/1.11.4/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11"],"inLocales":["en"]}