{"title":"Django 4.1.1 release notes","version":"dev","locale":"en","docname":"releases/4.1.1","url":"/en/dev/releases/4.1.1/","canonical":"https://djangodocs.dev/en/dev/releases/4.1.1/","summary":"Django 4.1.1 fixes several bugs in 4.1. Reallowed, following a regression in Django 4.1, using GeoIP2() when GEOS is not installed (#33886).","html":"<h1>Django 4.1.1 release notes<a class=\"heading-anchor\" href=\"#django-4-1-1-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>September 5, 2022</em></p>\n<p>Django 4.1.1 fixes several bugs in 4.1.</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>Reallowed, following a regression in Django 4.1, using <code class=\"docutils literal notranslate\">GeoIP2()</code> when GEOS\nis not installed (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33886\">#33886</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused a crash of admin’s autocomplete\nwidgets when translations are deactivated (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33888\">#33888</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused a crash of the <code class=\"docutils literal notranslate\">test</code>\nmanagement command when running in parallel and <code class=\"docutils literal notranslate\">multiprocessing</code> start\nmethod is <code class=\"docutils literal notranslate\">spawn</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33891\">#33891</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused an incorrect redirection to the\nadmin changelist view when using <em>“Save and continue editing”</em> and <em>“Save and\nadd another”</em> options (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33893\">#33893</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused a crash of\n<a class=\"reference internal\" href=\"/en/dev/ref/models/expressions/#django.db.models.expressions.Window\" title=\"django.db.models.expressions.Window\"><code class=\"xref py py-class docutils literal notranslate\">Window</code></a> expressions with\n<a class=\"reference internal\" href=\"/en/dev/ref/contrib/postgres/aggregates/#django.contrib.postgres.aggregates.ArrayAgg\" title=\"django.contrib.postgres.aggregates.ArrayAgg\"><code class=\"xref py py-class docutils literal notranslate\">ArrayAgg</code></a> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33898\">#33898</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused a migration crash on SQLite\n3.35.5+ when removing an indexed field (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33899\">#33899</a>).</p></li>\n<li><p>Fixed a bug in Django 4.1 that caused a crash of model validation on\n<code class=\"docutils literal notranslate\">UniqueConstraint()</code> with field names in <code class=\"docutils literal notranslate\">expressions</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33902\">#33902</a>).</p></li>\n<li><p>Fixed a bug in Django 4.1 that caused an incorrect validation of\n<code class=\"docutils literal notranslate\">CheckConstraint()</code> with range fields on PostgreSQL (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33905\">#33905</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused an incorrect migration when\nadding <code class=\"docutils literal notranslate\">AutoField</code>, <code class=\"docutils literal notranslate\">BigAutoField</code>, or <code class=\"docutils literal notranslate\">SmallAutoField</code> on PostgreSQL\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33919\">#33919</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL\nwhen altering <code class=\"docutils literal notranslate\">AutoField</code>, <code class=\"docutils literal notranslate\">BigAutoField</code>, or <code class=\"docutils literal notranslate\">SmallAutoField</code> to\n<code class=\"docutils literal notranslate\">OneToOneField</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33932\">#33932</a>).</p></li>\n<li><p>Fixed a migration crash on <code class=\"docutils literal notranslate\">ManyToManyField</code> fields with <code class=\"docutils literal notranslate\">through</code>\nreferencing models in different apps (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33938\">#33938</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused an incorrect migration when\nrenaming a model with <code class=\"docutils literal notranslate\">ManyToManyField</code> and <code class=\"docutils literal notranslate\">db_table</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33953\">#33953</a>).</p></li>\n<li><p>Reallowed, following a regression in Django 4.1, creating reverse foreign key\nmanagers on unsaved instances (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33952\">#33952</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused a migration crash on SQLite &lt;\n3.20 (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33960\">#33960</a>).</p></li>\n<li><p>Fixed a regression in Django 4.1 that caused an admin crash when the\n<a class=\"reference internal\" href=\"/en/dev/ref/contrib/admin/admindocs/#module-django.contrib.admindocs\" title=\"django.contrib.admindocs: Django's admin documentation generator.\"><code class=\"xref py py-mod docutils literal notranslate\">admindocs</code></a> app was used (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33955\">#33955</a>,\n<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/33971\">#33971</a>).</p></li>\n</ul>\n</section>","rootId":"django-4-1-1-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/4.1.2","title":"Django 4.1.2 release notes","url":"/en/dev/releases/4.1.2/"},"next":{"docname":"releases/4.1","title":"Django 4.1 release notes","url":"/en/dev/releases/4.1/"},"formats":{"html":"/en/dev/releases/4.1.1/","markdown":"/en/dev/releases/4.1.1.md","json":"/en/dev/releases/4.1.1.json"},"source":"https://github.com/django/django/blob/main/docs/releases/4.1.1.txt","official":"https://docs.djangoproject.com/en/dev/releases/4.1.1/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1"],"inLocales":["en"]}