---
title: "Django 4.2.8 release notes"
version: 6.1
locale: en
source: https://docs.djangoproject.com/en/6.1/releases/4.2.8/
canonical: https://djangodocs.dev/en/6.1/releases/4.2.8/
---
# Django 4.2.8 release notes

*December 4, 2023*

Django 4.2.8 fixes several bugs in 4.2.7 and adds compatibility with Python
3.12.

## Bugfixes

- Fixed a regression in Django 4.2 that caused [`makemigrations --check`](/en/6.1/ref/django-admin/#cmdoption-makemigrations-check)
  to stop displaying pending migrations ([#34457](https://code.djangoproject.com/ticket/34457)).
- Fixed a regression in Django 4.2 that caused a crash of
  `QuerySet.aggregate()` with aggregates referencing other aggregates or
  window functions through conditional expressions ([#34975](https://code.djangoproject.com/ticket/34975)).
- Fixed a regression in Django 4.2 that caused a crash when annotating a
  `QuerySet` with a `Window` expressions composed of a `partition_by`
  clause mixing field types and aggregation expressions ([#34987](https://code.djangoproject.com/ticket/34987)).
- Fixed a regression in Django 4.2 where the admin’s change list page had
  misaligned pagination links and inputs when using `list_editable`
  ([#34991](https://code.djangoproject.com/ticket/34991)).
- Fixed a regression in Django 4.2 where checkboxes in the admin would be
  centered on narrower screen widths ([#34994](https://code.djangoproject.com/ticket/34994)).
- Fixed a regression in Django 4.2 that caused a crash of querysets with
  aggregations on MariaDB when the `ONLY_FULL_GROUP_BY` SQL mode was enabled
  ([#34992](https://code.djangoproject.com/ticket/34992)).
- Fixed a regression in Django 4.2 where the admin’s read-only password widget
  and some help texts were incorrectly aligned at tablet widths
  ([#34982](https://code.djangoproject.com/ticket/34982)).
- Fixed a regression in Django 4.2 that caused a migration crash on SQLite when
  altering unsupported `Meta.db_table_comment` ([#35006](https://code.djangoproject.com/ticket/35006)).
