From d4f6e6c0888d2032af17d9216daa15f8e2272840 Mon Sep 17 00:00:00 2001 From: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Date: Thu, 16 May 2024 09:45:29 +0200 Subject: [PATCH] Moved FileSystemStorage note in docs to the correct place. --- docs/ref/files/storage.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt index 1b38fb696e..2ebf49b9aa 100644 --- a/docs/ref/files/storage.txt +++ b/docs/ref/files/storage.txt @@ -35,6 +35,11 @@ The ``FileSystemStorage`` class :class:`~django.core.files.storage.Storage` and provides implementations for all the public methods thereof. + .. note:: + + The ``FileSystemStorage.delete()`` method will not raise an exception + if the given file name does not exist. + .. attribute:: location Absolute path to the directory that will hold the files. @@ -55,11 +60,6 @@ The ``FileSystemStorage`` class The file system permissions that the directory will receive when it is saved. Defaults to :setting:`FILE_UPLOAD_DIRECTORY_PERMISSIONS`. - .. note:: - - The ``FileSystemStorage.delete()`` method will not raise - an exception if the given file name does not exist. - .. method:: get_created_time(name) Returns a :class:`~datetime.datetime` of the system's ctime, i.e.