diff options
| author | Tim Graham <timograham@gmail.com> | 2018-08-04 10:24:22 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-08-04 11:06:11 -0400 |
| commit | 37c0a3365531815b6db5576ca18ba684cc84d12d (patch) | |
| tree | 1283cc81953c36d9039611dee63ae8490344428b /docs | |
| parent | 1e8c68ff47b3b0d255e1224f22bcdb39ae2e5d6c (diff) | |
[2.1.x] Fixed #28540 -- Doc'd a change to file upload permissions in Django 1.11.
Behavior changed in f734e2d4b2fc4391a4d097b80357724815c1d414
(refs #27334).
Backport of 89d4d412404d31ef34ae3170c0c056eff55b2a17 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.11.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index 2e714433f7..26d91b288d 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -777,6 +777,13 @@ Miscellaneous :data:`~django.core.validators.validate_image_file_extension` validator. See the note in :meth:`.Client.post`. +* :class:`~django.db.models.FileField` now moves rather than copies the file + it receives. With the default file upload settings, files larger than + :setting:`FILE_UPLOAD_MAX_MEMORY_SIZE` now have the same permissions as + temporary files (often ``0o600``) rather than the system's standard umask + (often ``0o6644``). Set the :setting:`FILE_UPLOAD_PERMISSIONS` if you need + the same permission regardless of file size. + .. _deprecated-features-1.11: Features deprecated in 1.11 |
