summaryrefslogtreecommitdiff
path: root/docs/topics/http
diff options
context:
space:
mode:
authorDavid Hoffman <dhoffman34@icloud.com>2014-07-25 21:34:13 -0400
committerClaude Paroz <claude@2xlibre.net>2014-07-26 11:20:24 +0200
commite1c85167a3de7adf51105d5f0751b39fa0d49ba7 (patch)
tree5e339ce7184fed961857703b85444c5d839363e3 /docs/topics/http
parent57d2b3f2a7e5a7fafb99efc9d93e67bc98feea1b (diff)
Fixed #23097 -- Switched to new octal format in docs
Diffstat (limited to 'docs/topics/http')
-rw-r--r--docs/topics/http/file-uploads.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/http/file-uploads.txt b/docs/topics/http/file-uploads.txt
index 7e00af957c..81d7ba043d 100644
--- a/docs/topics/http/file-uploads.txt
+++ b/docs/topics/http/file-uploads.txt
@@ -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