#32360: Add system check that FILE_UPLOAD_TEMP_DIR exists when set
-------------------------------------+-------------------------------------
Reporter: Tim | Owner: Tim McCurrach
McCurrach |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 3.1
Uncategorized |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Following discussion in this ticket
https://code.djangoproject.com/ticket/32329
Add a check that if `settings.FILE_UPLOAD_TEMP_DIR` is set, then the
directory actually exists. This is because if it doesn't exist it can lead
to an OSError when python attempts to create a `NamedTemporaryFile`.
My only question is how this check should be categorised. It doesn't fit
nicely into any of the existing tags. Would this merit a new tag? files?
--
Ticket URL: <https://code.djangoproject.com/ticket/32360>
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/056.c0bb4d956970f02be49a12f6cb6e9d34%40djangoproject.com.