{"title":"Django 2.0.4 release notes","version":"dev","locale":"en","docname":"releases/2.0.4","url":"/en/dev/releases/2.0.4/","canonical":"https://djangodocs.dev/en/dev/releases/2.0.4/","summary":"Django 2.0.4 fixes several bugs in 2.0.3. Fixed a crash when filtering with an Exists() annotation of a queryset containing a single field (#29195).","html":"<h1>Django 2.0.4 release notes<a class=\"heading-anchor\" href=\"#django-2-0-4-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>April 2, 2018</em></p>\n<p>Django 2.0.4 fixes several bugs in 2.0.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 crash when filtering with an <code class=\"docutils literal notranslate\">Exists()</code> annotation of a queryset\ncontaining a single field (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29195\">#29195</a>).</p></li>\n<li><p>Fixed admin autocomplete widget’s translations for <code class=\"docutils literal notranslate\">zh-hans</code> and\n<code class=\"docutils literal notranslate\">zh-hant</code> languages (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29213\">#29213</a>).</p></li>\n<li><p>Corrected admin’s autocomplete widget to add a space after custom classes\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29221\">#29221</a>).</p></li>\n<li><p>Fixed <code class=\"docutils literal notranslate\">PasswordResetConfirmView</code> crash when using a user model with a\n<code class=\"docutils literal notranslate\">UUIDField</code> primary key and the reset URL contains an encoded primary key\nvalue that decodes to an invalid UUID (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29206\">#29206</a>).</p></li>\n<li><p>Fixed a regression in Django 1.11.8 where combining two annotated\n<code class=\"docutils literal notranslate\">values_list()</code> querysets with <code class=\"docutils literal notranslate\">union()</code>, <code class=\"docutils literal notranslate\">difference()</code>, or\n<code class=\"docutils literal notranslate\">intersection()</code> crashed due to mismatching columns (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29229\">#29229</a>).</p></li>\n<li><p>Fixed a regression in Django 1.11 where an empty choice could be initially\nselected for the <code class=\"docutils literal notranslate\">SelectMultiple</code> and <code class=\"docutils literal notranslate\">CheckboxSelectMultiple</code> widgets\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29273\">#29273</a>).</p></li>\n<li><p>Fixed a regression in Django 2.0 where <code class=\"docutils literal notranslate\">OpenLayersWidget</code> deserialization\nignored the widget map’s SRID and assumed 4326 (WGS84) (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/29116\">#29116</a>).</p></li>\n</ul>\n</section>","rootId":"django-2-0-4-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/2.0.5","title":"Django 2.0.5 release notes","url":"/en/dev/releases/2.0.5/"},"next":{"docname":"releases/2.0.3","title":"Django 2.0.3 release notes","url":"/en/dev/releases/2.0.3/"},"formats":{"html":"/en/dev/releases/2.0.4/","markdown":"/en/dev/releases/2.0.4.md","json":"/en/dev/releases/2.0.4.json"},"source":"https://github.com/django/django/blob/main/docs/releases/2.0.4.txt","official":"https://docs.djangoproject.com/en/dev/releases/2.0.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"],"inLocales":["en"]}