summaryrefslogtreecommitdiff
path: root/docs/ref/settings.txt
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 21:04:28 +0200
commitccf3cecbaf7cdaeeb027ca37bd93efb35ff7393b (patch)
treee81338e53a53e867976ba35cd405d1fc0611ab65 /docs/ref/settings.txt
parent691142364f23007a1628e3d886213dc3c4fe2a13 (diff)
[3.1.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
Backport of f24b59267be2e5fc5bd1252efda3aed19f860813 from master
Diffstat (limited to 'docs/ref/settings.txt')
-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 135c1ca950..f85a48b4c9 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.
.. versionchanged:: 3.0