From 17752003a8c115ff79f5f21655f5e9b8b2af67f4 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Mon, 21 Oct 2019 18:03:48 +0200 Subject: Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path. --- docs/ref/files/storage.txt | 5 +++++ docs/releases/3.1.txt | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'docs') 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 ~~~~~~~~~~~~ -- cgit v1.3