diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-16 09:45:29 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-05-16 11:17:57 +0200 |
| commit | d4f6e6c0888d2032af17d9216daa15f8e2272840 (patch) | |
| tree | e8d2e053f38e3f4dcdd03f8d8ed029f268bc7a2b /docs/ref/files | |
| parent | 604e32ee9300a0d76665e07010afc230007e4a79 (diff) | |
Moved FileSystemStorage note in docs to the correct place.
Diffstat (limited to 'docs/ref/files')
| -rw-r--r-- | docs/ref/files/storage.txt | 10 |
1 files 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. |
