{"title":"Django 4.1.4 release notes","version":"dev","locale":"en","docname":"releases/4.1.4","url":"/en/dev/releases/4.1.4/","canonical":"https://djangodocs.dev/en/dev/releases/4.1.4/","summary":"Django 4.1.4 fixes several bugs in 4.1.3. Fixed a regression in Django 4.1 that caused an unnecessary table rebuild when adding a ManyToManyField on SQLite…","html":"<h1>Django 4.1.4 release notes<a class=\"heading-anchor\" href=\"#django-4-1-4-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>December 6, 2022</em></p>\n<p>Django 4.1.4 fixes several bugs in 4.1.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 Django 4.1 that caused an unnecessary table rebuild\nwhen adding a <code class=\"docutils literal notranslate\">ManyToManyField</code> on SQLite (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34138\">#34138</a>).</p></li>\n<li><p>Fixed a bug in Django 4.1 that caused a crash of the sitemap index view with\nan empty <a class=\"reference internal\" href=\"/en/dev/ref/contrib/sitemaps/#django.contrib.sitemaps.Sitemap.items\" title=\"django.contrib.sitemaps.Sitemap.items\"><code class=\"xref py py-meth docutils literal notranslate\">Sitemap.items()</code></a> and\na callable <a class=\"reference internal\" href=\"/en/dev/ref/contrib/sitemaps/#django.contrib.sitemaps.Sitemap.lastmod\" title=\"django.contrib.sitemaps.Sitemap.lastmod\"><code class=\"xref py py-attr docutils literal notranslate\">lastmod</code></a>\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34088\">#34088</a>).</p></li>\n<li><p>Fixed a bug in Django 4.1 that caused a crash using <code class=\"docutils literal notranslate\">acreate()</code>,\n<code class=\"docutils literal notranslate\">aget_or_create()</code>, and <code class=\"docutils literal notranslate\">aupdate_or_create()</code> asynchronous methods of\nrelated managers (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34139\">#34139</a>).</p></li>\n<li><p>Fixed a bug in Django 4.1 that caused a crash of <code class=\"docutils literal notranslate\">QuerySet.bulk_create()</code>\nwith <code class=\"docutils literal notranslate\">&quot;pk&quot;</code> in <code class=\"docutils literal notranslate\">unique_fields</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34177\">#34177</a>).</p></li>\n<li><p>Fixed a bug in Django 4.1 that caused a crash of <code class=\"docutils literal notranslate\">QuerySet.bulk_create()</code>\non fields with <code class=\"docutils literal notranslate\">db_column</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34171\">#34171</a>).</p></li>\n</ul>\n</section>","rootId":"django-4-1-4-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/4.1.5","title":"Django 4.1.5 release notes","url":"/en/dev/releases/4.1.5/"},"next":{"docname":"releases/4.1.3","title":"Django 4.1.3 release notes","url":"/en/dev/releases/4.1.3/"},"formats":{"html":"/en/dev/releases/4.1.4/","markdown":"/en/dev/releases/4.1.4.md","json":"/en/dev/releases/4.1.4.json"},"source":"https://github.com/django/django/blob/main/docs/releases/4.1.4.txt","official":"https://docs.djangoproject.com/en/dev/releases/4.1.4/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1"],"inLocales":["en"]}