1
0
mirror of https://github.com/django/django.git synced 2025-05-07 23:46:30 +00:00

Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.

This commit is contained in:
René Fleschenberg 2020-05-25 17:33:57 +02:00 committed by Mariusz Felisiak
parent adf58311b8
commit f24b59267b

View File

@ -1554,12 +1554,12 @@ when using the :djadmin:`collectstatic` management command. See
.. warning:: .. 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 If you're not familiar with file modes, please note that the ``0o`` prefix
``0`` is very important: it indicates an octal number, which is the is very important: it indicates an octal number, which is the way that
way that modes must be specified. If you try to use ``644``, you'll modes must be specified. If you try to use ``644``, you'll get totally
get totally incorrect behavior. incorrect behavior.
.. setting:: FILE_UPLOAD_TEMP_DIR .. setting:: FILE_UPLOAD_TEMP_DIR