Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path.

This commit is contained in:
Hasan Ramezani 2019-10-21 18:03:48 +02:00 committed by Mariusz Felisiak
parent 0f2975534d
commit 17752003a8
4 changed files with 10 additions and 5 deletions

View file

@ -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
=====================

View file

@ -124,7 +124,7 @@ Email
File Storage
~~~~~~~~~~~~
* ...
* ``FileSystemStorage.save()`` method now supports :class:`pathlib.Path`.
File Uploads
~~~~~~~~~~~~