#35326: OverwritingStorageTests fail if a TemporaryUploadedFile is used
--------------------------------------+------------------------------------
Reporter: bcail | Owner: nobody
Type: Bug | Status: new
Component: File uploads/storage | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Natalia Bidart):
* cc: Tim Graham (added)
* stage: Unreviewed => Accepted
Comment:
Hello bcail, thank you for your report!
This definitely seems like a valid issue, `file_move_safe` (from
`django.core.files.move`) requires the `allow_overwrite` flag to be passed
to perform overwrites. I don't have clarity on the possible fix, I agree
that it requires a design decision. A forum post seeking advice would be
the best next step, I think.
--
Ticket URL: <https://code.djangoproject.com/ticket/35326#comment:3>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/0107018e75fbc667-edce6216-4fee-40c2-9794-d43f11a15070-000000%40eu-central-1.amazonses.com.