mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
[5.2.x] Fixed #36191 -- Truncated the overwritten file content in FileSystemStorage.
Backport of 0d1dd6bba0 from main.
This commit is contained in:
@@ -12,3 +12,7 @@ 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`).
|
||||
|
||||
Reference in New Issue
Block a user