#21602: FileSystemStorage._save() Should Save to a Temporary Filename and Rename to Attempt to be Atomic --------------------------------------+------------------------------------ Reporter: Kevin Stone | Owner: nobody Type: Cleanup/optimization | 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 bcail):
* cc: bcail (added) Comment: This should be easier to implement once the [https://github.com/django/django/blob/main/django/core/files/storage/filesystem.py#L122 OS_OPEN_FLAGS] are removed (they're currently deprecated). -- Ticket URL: <https://code.djangoproject.com/ticket/21602#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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018fa1133cb6-c3f44a31-b770-44db-b552-07f310275ddd-000000%40eu-central-1.amazonses.com.