summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2019-10-21 18:03:48 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-31 09:06:05 +0100
commit17752003a8c115ff79f5f21655f5e9b8b2af67f4 (patch)
tree58c3b3505daa755f95e0a3dd6987d81177591377 /docs
parent0f2975534dc6a010a4da28165b235f36bf1df24f (diff)
Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/files/storage.txt5
-rw-r--r--docs/releases/3.1.txt2
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/ref/files/storage.txt b/docs/ref/files/storage.txt
index b2710062df..542eb2dc7e 100644
--- a/docs/ref/files/storage.txt
+++ b/docs/ref/files/storage.txt
@@ -69,6 +69,11 @@ The ``FileSystemStorage`` class
time of the last metadata change, and on others (like Windows), it's
the creation time of the file.
+.. versionchanged:: 3.1
+
+ Support for :class:`pathlib.Path` was added to the
+ ``FileSystemStorage.save()`` method.
+
The ``Storage`` class
=====================
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index d928abd205..ef2ab9b173 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -124,7 +124,7 @@ Email
File Storage
~~~~~~~~~~~~
-* ...
+* ``FileSystemStorage.save()`` method now supports :class:`pathlib.Path`.
File Uploads
~~~~~~~~~~~~