---
title: "Django 5.2.5 release notes"
version: 6.0
locale: pl
source: https://docs.djangoproject.com/pl/6.0/releases/5.2.5/
canonical: https://djangodocs.dev/pl/6.0/releases/5.2.5/
---
# Django 5.2.5 release notes

*August 6, 2025*

Django 5.2.5 fixes several bugs in 5.2.4.

## Poprawki błędów

- Fixed a regression in Django 5.2.1 that prevented the usage of `UNNEST`
  PostgreSQL strategy of `QuerySet.bulk_create()` with foreign keys
  ([#36502](https://code.djangoproject.com/ticket/36502)).
- Fixed a crash in Django 5.2 when filtering against a composite primary key
  using a tuple containing expressions ([#36522](https://code.djangoproject.com/ticket/36522)).
- Fixed a crash in Django 5.2 when validating a model that uses
  `GeneratedField` or constraints composed of `Q` and `Case` lookups
  ([#36518](https://code.djangoproject.com/ticket/36518)).
- Added compatibility for `docutils` 0.22 ([#36535](https://code.djangoproject.com/ticket/36535)).
- Fixed a crash in Django 5.2 when using a `ManyToManyField` on a model with
  a composite primary key, by extending the `fields.E347` system check
  ([#36530](https://code.djangoproject.com/ticket/36530)).
