mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #23097 -- Switched to new octal format in docs
This commit is contained in:
parent
57d2b3f2a7
commit
e1c85167a3
6 changed files with 8 additions and 8 deletions
|
@ -185,13 +185,13 @@ There are a few settings which control Django's file upload behavior:
|
|||
most Unix-like systems).
|
||||
|
||||
:setting:`FILE_UPLOAD_PERMISSIONS`
|
||||
The numeric mode (i.e. ``0644``) to set newly uploaded files to. For
|
||||
The numeric mode (i.e. ``0o644``) to set newly uploaded files to. For
|
||||
more information about what these modes mean, see the documentation for
|
||||
:func:`os.chmod`.
|
||||
|
||||
If this isn't given or is ``None``, you'll get operating-system
|
||||
dependent behavior. On most platforms, temporary files will have a mode
|
||||
of ``0600``, and files saved from memory will be saved using the
|
||||
of ``0o600``, and files saved from memory will be saved using the
|
||||
system's standard umask.
|
||||
|
||||
For security reasons, these permissions aren't applied to the temporary
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue