1
0
mirror of https://github.com/django/django.git synced 2025-03-12 18:30:48 +00:00
django/docs/releases/5.1.7.txt
antoliny0919 5997fdc921 [5.2.x] Fixed #36217 -- Restored pre_save/post_save signal emission via LogEntry.save() for single-object deletion in the admin.
Regression in 40b3975e7d3e1464a733c69171ad7d38f8814280.

Thanks smiling-watermelon for the report.

Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>

Backport of c09bceef68e5abb79accedd12dade16aa6577a09 from main.
2025-03-04 10:36:37 +01:00

29 lines
1004 B
Plaintext

==========================
Django 5.1.7 release notes
==========================
*March 6, 2025*
Django 5.1.7 fixes a security issue with severity "moderate" and several bugs
in 5.1.6.
Bugfixes
========
* Fixed a bug in Django 5.1 where the ``{% querystring %}`` template tag
returned an empty string rather than ``"?"`` when all parameters had been
removed from the query string (:ticket:`36182`).
* Fixed a bug in Django 5.1 where ``FileSystemStorage``, with
``allow_overwrite`` set to ``True``, did not truncate the overwritten file
content (:ticket:`36191`).
* Fixed a regression in Django 5.1 where the ``count`` and ``exists`` methods
of ``ManyToManyField`` related managers would always return ``0`` and
``False`` when the intermediary model back references used ``to_field``
(:ticket:`36197`).
* Fixed a regression in Django 5.1 where the ``pre_save`` and ``post_save``
signals for ``LogEntry`` were not sent when deleting a single object in the
admin (:ticket:`36217`).