mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path.
This commit is contained in:
parent
0f2975534d
commit
17752003a8
4 changed files with 10 additions and 5 deletions
|
|
@ -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
|
||||
=====================
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ Email
|
|||
File Storage
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* ...
|
||||
* ``FileSystemStorage.save()`` method now supports :class:`pathlib.Path`.
|
||||
|
||||
File Uploads
|
||||
~~~~~~~~~~~~
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue