1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #13518 -- Added FILE_UPLOAD_DIRECTORY_PERMISSIONS setting

This setting does for new directories what FILE_UPLOAD_PERMISSIONS
does for new files.

Thanks jacob@ for the suggestion.
This commit is contained in:
Mel Collins
2013-05-13 13:38:53 +02:00
committed by Tim Graham
parent ab680725bf
commit 6bdb3b1135
6 changed files with 50 additions and 2 deletions

View File

@@ -138,6 +138,10 @@ Minor features
* The :func:`~django.contrib.auth.decorators.permission_required` decorator can
take a list of permissions as well as a single permission.
* The new :setting:`FILE_UPLOAD_DIRECTORY_PERMISSIONS` setting controls
the file system permissions of directories created during file upload, like
:setting:`FILE_UPLOAD_PERMISSIONS` does for the files themselves.
Backwards incompatible changes in 1.7
=====================================