{"title":"Django 4.2.8 release notes","version":"dev","locale":"en","docname":"releases/4.2.8","url":"/en/dev/releases/4.2.8/","canonical":"https://djangodocs.dev/en/dev/releases/4.2.8/","summary":"Django 4.2.8 fixes several bugs in 4.2.7 and adds compatibility with Python 3.12.","html":"<h1>Django 4.2.8 release notes<a class=\"heading-anchor\" href=\"#django-4-2-8-release-notes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p><em>December 4, 2023</em></p>\n<p>Django 4.2.8 fixes several bugs in 4.2.7 and adds compatibility with Python\n3.12.</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.2 that caused <a class=\"reference internal\" href=\"/en/dev/ref/django-admin/#cmdoption-makemigrations-check\"><code class=\"xref std std-option docutils literal notranslate\">makemigrations --check</code></a>\nto stop displaying pending migrations (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34457\">#34457</a>).</p></li>\n<li><p>Fixed a regression in Django 4.2 that caused a crash of\n<code class=\"docutils literal notranslate\">QuerySet.aggregate()</code> with aggregates referencing other aggregates or\nwindow functions through conditional expressions (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34975\">#34975</a>).</p></li>\n<li><p>Fixed a regression in Django 4.2 that caused a crash when annotating a\n<code class=\"docutils literal notranslate\">QuerySet</code> with a <code class=\"docutils literal notranslate\">Window</code> expressions composed of a <code class=\"docutils literal notranslate\">partition_by</code>\nclause mixing field types and aggregation expressions (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34987\">#34987</a>).</p></li>\n<li><p>Fixed a regression in Django 4.2 where the admin’s change list page had\nmisaligned pagination links and inputs when using <code class=\"docutils literal notranslate\">list_editable</code>\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34991\">#34991</a>).</p></li>\n<li><p>Fixed a regression in Django 4.2 where checkboxes in the admin would be\ncentered on narrower screen widths (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34994\">#34994</a>).</p></li>\n<li><p>Fixed a regression in Django 4.2 that caused a crash of querysets with\naggregations on MariaDB when the <code class=\"docutils literal notranslate\">ONLY_FULL_GROUP_BY</code> SQL mode was enabled\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34992\">#34992</a>).</p></li>\n<li><p>Fixed a regression in Django 4.2 where the admin’s read-only password widget\nand some help texts were incorrectly aligned at tablet widths\n(<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/34982\">#34982</a>).</p></li>\n<li><p>Fixed a regression in Django 4.2 that caused a migration crash on SQLite when\naltering unsupported <code class=\"docutils literal notranslate\">Meta.db_table_comment</code> (<a class=\"extlink-ticket reference external\" href=\"https://code.djangoproject.com/ticket/35006\">#35006</a>).</p></li>\n</ul>\n</section>","rootId":"django-4-2-8-release-notes","toc":[{"title":"Bugfixes","anchor":"bugfixes","children":[]}],"breadcrumbs":[{"docname":"releases/index","title":"Release notes","url":"/en/dev/releases/"}],"prev":{"docname":"releases/4.2.9","title":"Django 4.2.9 release notes","url":"/en/dev/releases/4.2.9/"},"next":{"docname":"releases/4.2.7","title":"Django 4.2.7 release notes","url":"/en/dev/releases/4.2.7/"},"formats":{"html":"/en/dev/releases/4.2.8/","markdown":"/en/dev/releases/4.2.8.md","json":"/en/dev/releases/4.2.8.json"},"source":"https://github.com/django/django/blob/main/docs/releases/4.2.8.txt","official":"https://docs.djangoproject.com/en/dev/releases/4.2.8/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2"],"inLocales":["en"]}