From cf5f36bf903a2854f5e395149cee707115b83744 Mon Sep 17 00:00:00 2001 From: Natalia <124304+nessita@users.noreply.github.com> Date: Mon, 9 Jun 2025 09:59:11 -0300 Subject: Fixed #36446 -- Restored "q" in internal MediaType.params property. The "q" key was removed while addressing ticket #36411. Despite `MediaType.params` is undocumented and considered internal, it was used in third-party projects (Zulip reported breakage), so this work restored the `q` key in `params`. Thanks Anders Kaseorg for the report. Regression in c075508b4de8edf9db553b409f8a8ed2f26ecead. --- docs/releases/5.2.3.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.2.3.txt b/docs/releases/5.2.3.txt index 927ec16d34..70aa5aedb0 100644 --- a/docs/releases/5.2.3.txt +++ b/docs/releases/5.2.3.txt @@ -17,3 +17,6 @@ Bugfixes * Fixed a regression in Django 5.2 that caused :meth:`.QuerySet.bulk_update` to incorrectly convert ``None`` to JSON ``null`` instead of SQL ``NULL`` for ``JSONField`` (:ticket:`36419`). + +* Fixed a regression in Django 5.2.2 where the ``q`` parameter was removed from + the internal ``django.http.MediaType.params`` property (:ticket:`36446`). -- cgit v1.3