2025-02-05 11:21:09 -03:00
|
|
|
==========================
|
|
|
|
Django 5.1.7 release notes
|
|
|
|
==========================
|
|
|
|
|
2025-02-27 16:03:26 +01:00
|
|
|
*March 6, 2025*
|
2025-02-05 11:21:09 -03:00
|
|
|
|
2025-02-27 16:03:26 +01:00
|
|
|
Django 5.1.7 fixes a security issue with severity "moderate" and several bugs
|
|
|
|
in 5.1.6.
|
2025-02-05 11:21:09 -03:00
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2025-02-12 17:08:03 +01:00
|
|
|
* 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`).
|
2025-02-15 15:55:33 +01:00
|
|
|
|
|
|
|
* Fixed a bug in Django 5.1 where ``FileSystemStorage``, with
|
|
|
|
``allow_overwrite`` set to ``True``, did not truncate the overwritten file
|
|
|
|
content (:ticket:`36191`).
|
2025-02-17 13:45:31 -05:00
|
|
|
|
|
|
|
* 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`).
|
2025-02-28 12:17:17 +01:00
|
|
|
|
|
|
|
* 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`).
|