#36191: FileSystemStorage with allow_overwrite=True does not truncate previous
file
-------------------------------------+-------------------------------------
Reporter: Gaël UTARD | Owner: Gaël
| UTARD
Type: Bug | Status: assigned
Component: File | Version: 5.1
uploads/storage |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Gaël UTARD):
Jacob, thanks for your confirmation of the bug, and confirmation of the
fix I had in mind.
I pushed a PR, including your idea to assert the length of both contents
in the test.
It's my first contribution to Django. I read the docs. I hope I did it
right.
--
Ticket URL: <https://code.djangoproject.com/ticket/36191#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/010701950a3dc33b-34e5cb3b-eca9-489c-a67f-03b4aa32f89c-000000%40eu-central-1.amazonses.com.