Code

Opened 5 years ago

Closed 5 years ago

#11781 closed (wontfix)

Wish: FILE_UPLOAD_DIRECTORY_PERMISSIONS

Reported by: michal.dtz@… 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: UI/UX:

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 :-)

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by ubernostrum

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.