1
0
mirror of https://github.com/django/django.git synced 2025-04-06 06:26:41 +00:00

[2.1.x] Refs #28540 -- Added FILE_UPLOAD_PERMISSIONS to deployment checklist.

Backport of ef70af77ec53160d5ffa060c1bdf5ed93322d84f from master
This commit is contained in:
Carlton Gibson 2018-07-18 12:07:37 +02:00 committed by Tim Graham
parent 4261ba6770
commit 1e8c68ff47

View File

@ -154,6 +154,16 @@ server never attempts to interpret them. For instance, if a user uploads a
Now is a good time to check your backup strategy for these files.
:setting:`FILE_UPLOAD_PERMISSIONS`
----------------------------------
With the default file upload settings, files smaller than
:setting:`FILE_UPLOAD_MAX_MEMORY_SIZE` may be stored with a different mode
than larger files as described in :setting:`FILE_UPLOAD_PERMISSIONS`.
Setting :setting:`FILE_UPLOAD_PERMISSIONS` ensures all files are uploaded with
the same permissions.
HTTPS
=====