diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 8857d063c5c3..b508d6b11b6b 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1651,7 +1651,7 @@ Default:: A list of handlers to use for uploading. Changing this setting allows complete customization -- even replacement -- of Django's upload process. -See :doc:`/topics/files` for details. +See :ref:`file-upload-handlers` for details. .. setting:: FILE_UPLOAD_MAX_MEMORY_SIZE @@ -1661,7 +1661,7 @@ See :doc:`/topics/files` for details. Default: ``2621440`` (i.e. 2.5 MB). The maximum size (in bytes) that an upload will be before it gets streamed to -the file system. See :doc:`/topics/files` for details. +the file system. See :ref:`file-upload-handlers` for details. See also :setting:`DATA_UPLOAD_MAX_MEMORY_SIZE`. @@ -1732,7 +1732,7 @@ If ``None``, Django will use the standard temporary directory for the operating system. For example, this will default to ``/tmp`` on \*nix-style operating systems. -See :doc:`/topics/files` for details. +See :ref:`file-upload-handlers` for details. .. setting:: FIRST_DAY_OF_WEEK @@ -4037,6 +4037,7 @@ File uploads ------------ * :setting:`FILE_UPLOAD_HANDLERS` * :setting:`FILE_UPLOAD_MAX_MEMORY_SIZE` +* :setting:`FILE_UPLOAD_DIRECTORY_PERMISSIONS` * :setting:`FILE_UPLOAD_PERMISSIONS` * :setting:`FILE_UPLOAD_TEMP_DIR` * :setting:`MEDIA_ROOT` diff --git a/docs/topics/http/file-uploads.txt b/docs/topics/http/file-uploads.txt index 60b3e1a86e9c..83d7fad2f382 100644 --- a/docs/topics/http/file-uploads.txt +++ b/docs/topics/http/file-uploads.txt @@ -223,6 +223,8 @@ uploads: instance (in a single field), for example, even if the custom widget is used with a form field related to a model ``FileField``. +.. _file-upload-handlers: + Upload Handlers ===============