summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRené Fleschenberg <rene@fleschenberg.net>2020-05-25 17:33:57 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-25 20:43:31 +0200
commitf24b59267be2e5fc5bd1252efda3aed19f860813 (patch)
treebf6bede721dc99514694946b1c23b5a96f1c7225 /docs
parentadf58311b84f2aa92ca57661a8ba8679481ac930 (diff)
Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/settings.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 81d188fffc..ab243fa808 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1554,12 +1554,12 @@ when using the :djadmin:`collectstatic` management command. See
.. warning::
- **Always prefix the mode with a 0.**
+ **Always prefix the mode with** ``0o`` **.**
- If you're not familiar with file modes, please note that the leading
- ``0`` is very important: it indicates an octal number, which is the
- way that modes must be specified. If you try to use ``644``, you'll
- get totally incorrect behavior.
+ If you're not familiar with file modes, please note that the ``0o`` prefix
+ is very important: it indicates an octal number, which is the way that
+ modes must be specified. If you try to use ``644``, you'll get totally
+ incorrect behavior.
.. setting:: FILE_UPLOAD_TEMP_DIR