Opened 15 years ago
Closed 15 years ago
#11781 closed (wontfix)
Wish: FILE_UPLOAD_DIRECTORY_PERMISSIONS
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | File uploads/storage | Version: | 1.1 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Please add this variable to global_settings.py
Then, in django.core.files.storage, use
os.makedirs(directory, settings.FILE_UPLOAD_DIRECTORY_PERMISSIONS)
Some people (like me) need this settings - and it is relativley easy to add it. Pretty please :-)
Note:
See TracTickets
for help on using tickets.
Seems like something you should do in your own storage backend, if that's what you need. Meanwhile, I don't think this is a common enough thing to justify making it a part of Django.